GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — docs(samples): new Doc AI samples for v1beta3 by aribray · Pull Request #44 · googleapis/python-documentai

This repository was archived by the owner on Sep 20, 2023. It is now read-only.

Conversation

@aribray

@aribray aribray commented Oct 15, 2020

Copy link
Copy Markdown
Contributor

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

  • Make sure to open an issue as a bug/issue before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
  • Ensure the tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> 🦕

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
aribray added 3 commits October 12, 2020 18:16
@aribray
batch_process_sample. changing from async to synchronous
b2dc573
@aribray
add quick start and process_document samples and tests
b01d802
@aribray
add test and sample for batch_process
cfb964a
@aribray
aribray requested a review from a team as a code owner October 15, 2020 19:44
@aribray
aribray requested review from a team and engelke October 15, 2020 19:44
@google-cla google-cla Bot added the cla: yes This human has signed the Contributor License Agreement. label Oct 15, 2020
telpirion
telpirion reviewed Oct 15, 2020
View reviewed changes
Comment thread samples/batch_process_documents_sample_v1beta3.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

telpirion
telpirion reviewed Oct 15, 2020
View reviewed changes
Comment thread samples/process_document_sample_v1beta3.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

aribray added 2 commits October 15, 2020 13:19
@aribray
add test and sample for batch_process
8f9246d
@aribray
resolve merge conflict
ba7681a
telpirion
telpirion reviewed Oct 15, 2020
View reviewed changes

@telpirion telpirion left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that the sample test are in the wrong place. We typically place the tests in the same folder as the script under test.

E.g. quickstart_test.py is in the same folder as quickstart.py

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread samples/quickstart_sample_v1beta3.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread samples/process_document_sample_v1beta3.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread samples/batch_process_documents_sample_v1beta3.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread samples/batch_process_documents_sample_v1beta3.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread samples/batch_process_documents_sample_v1beta3.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread samples/quickstart_sample_v1beta3.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread tests/unit/gapic/documentai_v1beta3/quickstart_v1beta3_test.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread tests/unit/gapic/documentai_v1beta3/quickstart_v1beta3_test.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread tests/unit/gapic/documentai_v1beta3/quickstart_v1beta3_test.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread tests/unit/gapic/documentai_v1beta3/quickstart_v1beta3_test.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

aribray added 2 commits October 15, 2020 13:35
@aribray
python document ai samples
a37f39a
@aribray
Merge branch 'python-docai' of https://github.com/aribray/python-docu…
99f7f11
…mentai into python-docai
telpirion
telpirion reviewed Oct 15, 2020
View reviewed changes
Comment thread samples/batch_process_documents_sample_v1beta3.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

aribray added 2 commits October 15, 2020 14:16
@aribray
Merge branch 'python-docai' of https://github.com/aribray/python-docu…
87254c7
…mentai into python-docai
@aribray
Merge branch 'python-docai' of https://github.com/aribray/python-docu…
bcf97a6
…mentai into python-docai
telpirion
telpirion reviewed Oct 15, 2020
View reviewed changes
Comment thread samples/process_document_sample_v1beta3.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

telpirion
telpirion reviewed Oct 15, 2020
View reviewed changes
Comment thread samples/quickstart_sample_v1beta3.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

aribray added 4 commits October 15, 2020 14:48
@aribray
Merge branch 'python-docai' of https://github.com/aribray/python-docu…
26b9450
…mentai into python-docai
@aribray
Merge branch 'python-docai' of https://github.com/aribray/python-docu…
4943437
…mentai into python-docai
@aribray
Merge branch 'python-docai' of https://github.com/aribray/python-docu…
9439937
…mentai into python-docai
@aribray
Merge branch 'python-docai' of https://github.com/aribray/python-docu…
15dd4e4
…mentai into python-docai
telpirion
telpirion reviewed Oct 15, 2020
View reviewed changes
Comment thread samples/quickstart_sample_v1beta3.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

@telpirion
telpirion requested a review from leahecole October 15, 2020 22:26
@leahecole
leahecole removed the request for review from engelke October 15, 2020 22:29
@leahecole leahecole added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Oct 15, 2020
@leahecole

leahecole commented Oct 15, 2020

Copy link
Copy Markdown
Contributor

putting a do not merge on it right away because the samples checks aren't running - I'll look into that because I'm like 99% sure it's not your fault Ari :)

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@leahecole

leahecole commented Oct 15, 2020

Copy link
Copy Markdown
Contributor

blocked by internal CL 337396830 to make checks run

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@leahecole

leahecole commented Oct 15, 2020

Copy link
Copy Markdown
Contributor

Alright - CL merged, let's see if the checks show up

leahecole and busunkim96 reacted with hooray emoji
All reactions
  • 🎉 2 reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

aribray and others added 8 commits October 16, 2020 14:55
@aribray
rename test files
3cb2c0a
@aribray
Merge branch 'master' into python-docai
f424aee
@aribray
Merge branch 'master' into python-docai
27b63f1
@aribray
ran linter, removed nested function in batch predict
043b445
@aribray
refactor tests
dba5ef8
@aribray
format imports
5416bbc
@aribray
format imports
d9e2cca
@aribray
format imports
700ab75
@aribray
aribray requested a review from leahecole October 19, 2020 23:22
aribray added 2 commits October 19, 2020 17:08
@aribray
serialize as Document object
66dde36
@aribray
extract get_text helper function
0b839e8
leahecole
leahecole suggested changes Oct 20, 2020
View reviewed changes

@leahecole leahecole left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A couple of hopefully quick things! We're so close!

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread samples/snippets/batch_process_documents_sample_v1beta3.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread samples/snippets/batch_process_documents_sample_v1beta3_test.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread samples/snippets/process_document_sample_v1beta3_test.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

aribray added 2 commits October 20, 2020 15:23
@aribray
fix file path
bda06e8
@aribray
delete test bucket
ad5ff58
@aribray
aribray requested a review from leahecole October 20, 2020 22:50
leahecole
leahecole suggested changes Oct 21, 2020
View reviewed changes
Comment thread samples/snippets/batch_process_documents_sample_v1beta3_test.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread samples/snippets/batch_process_documents_sample_v1beta3_test.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread samples/snippets/batch_process_documents_sample_v1beta3_test.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread samples/snippets/process_document_sample_v1beta3_test.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread samples/snippets/quickstart_sample_v1beta3_test.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

aribray and others added 4 commits October 20, 2020 22:32
@aribray @leahecole
Update samples/snippets/batch_process_documents_sample_v1beta3_test.py
cd4a1d1
Co-authored-by: Leah E. Cole <[email protected]>
@aribray @leahecole
Update samples/snippets/batch_process_documents_sample_v1beta3_test.py
e9ba609
Co-authored-by: Leah E. Cole <[email protected]>
@aribray
add more specific assertion in batch_process
a439e32
@aribray
add more specific assertion in process_document and quickstart
4e3f369
@aribray
aribray requested a review from leahecole October 21, 2020 05:39
@aribray
fix output_uri name
9c7adaf
leahecole
leahecole suggested changes Oct 21, 2020
View reviewed changes
Comment thread samples/snippets/batch_process_documents_sample_v1beta3_test.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread samples/snippets/batch_process_documents_sample_v1beta3_test.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread samples/snippets/batch_process_documents_sample_v1beta3_test.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread samples/snippets/batch_process_documents_sample_v1beta3_test.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread samples/snippets/batch_process_documents_sample_v1beta3_test.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread samples/snippets/batch_process_documents_sample_v1beta3_test.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

aribray and others added 3 commits October 21, 2020 15:26
@aribray @leahecole
Apply suggestions from code review to resolve exception
0849731
Co-authored-by: Leah E. Cole <[email protected]>
@aribray
resolve exception
61f0c7f
@aribray
lint
80d0fb4
leahecole
leahecole approved these changes Oct 21, 2020
View reviewed changes
@leahecole leahecole removed the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Oct 21, 2020
@leahecole
leahecole merged commit cc8c58d into googleapis:master Oct 21, 2020
gcf-merge-on-green Bot pushed a commit that referenced this pull request Mar 25, 2021
@release-please
chore: release 0.4.0 (#57)
a75c42a
🤖 I have created a release \*beep\* \*boop\*
---
## [0.4.0](https://www.github.com/googleapis/python-documentai/compare/v0.3.0...v0.4.0) (2021-03-25)


### Features

* add 'from_service_account_info' factory to clients ([d6f183a](https://www.github.com/googleapis/python-documentai/commit/d6f183a696b211c6d29bc28e9bbd0a8537f65577))
* add common resource path helpers, expose client transport ([#43](https://www.github.com/googleapis/python-documentai/issues/43)) ([4918e62](https://www.github.com/googleapis/python-documentai/commit/4918e62033b4c118bf99ba83730377b4ecc86d17))
* add documentai v1 ([#101](https://www.github.com/googleapis/python-documentai/issues/101)) ([74fabb5](https://www.github.com/googleapis/python-documentai/commit/74fabb5e260ecc27e9cf005502d79590fa7f72e4))
* add from_service_account_info factory and fix sphinx identifiers  ([#80](https://www.github.com/googleapis/python-documentai/issues/80)) ([d6f183a](https://www.github.com/googleapis/python-documentai/commit/d6f183a696b211c6d29bc28e9bbd0a8537f65577))


### Bug Fixes

* added if statement to filter out dir blob files ([#63](https://www.github.com/googleapis/python-documentai/issues/63)) ([7f7f541](https://www.github.com/googleapis/python-documentai/commit/7f7f541bcf4d2f42b2f619c2ceb45f53c5d0e9eb))
* adds comment with explicit hostname change ([#94](https://www.github.com/googleapis/python-documentai/issues/94)) ([bb639f9](https://www.github.com/googleapis/python-documentai/commit/bb639f9470304b9c408143a3e8091a4ca8c54160))
* fix sphinx identifiers ([d6f183a](https://www.github.com/googleapis/python-documentai/commit/d6f183a696b211c6d29bc28e9bbd0a8537f65577))
* moves import statment inside region tags ([#71](https://www.github.com/googleapis/python-documentai/issues/71)) ([a04fbea](https://www.github.com/googleapis/python-documentai/commit/a04fbeaf026d3d204dbb6c6cecf181068ddcc882))
* remove client recv msg limit and add enums to `types/__init__.py` ([#72](https://www.github.com/googleapis/python-documentai/issues/72)) ([c94afd5](https://www.github.com/googleapis/python-documentai/commit/c94afd55124b0abc8978bf86b84743dd4afb0778))
* removes C-style semicolons and slash comments ([#59](https://www.github.com/googleapis/python-documentai/issues/59)) ([1b24bfd](https://www.github.com/googleapis/python-documentai/commit/1b24bfdfc603952db8d1c633dfde108a396aa707))
* **samples:** swaps 'continue' for 'return' ([#93](https://www.github.com/googleapis/python-documentai/issues/93)) ([dabe48e](https://www.github.com/googleapis/python-documentai/commit/dabe48e8c1439ceb8a50c18aa3c7dca848a9117a))


### Documentation

* fix pypi link ([#46](https://www.github.com/googleapis/python-documentai/issues/46)) ([5162674](https://www.github.com/googleapis/python-documentai/commit/5162674091b9a2111b90eb26739b4e11f9119582))
* **samples:** new Doc AI samples for v1beta3 ([#44](https://www.github.com/googleapis/python-documentai/issues/44)) ([cc8c58d](https://www.github.com/googleapis/python-documentai/commit/cc8c58d1bade4be53fde08f6a3497eb3f79f63b1))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

2 more reviewers
@leahecole leahecole leahecole approved these changes
@telpirion telpirion telpirion approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

5 participants

@aribray @leahecole @busunkim96 @telpirion @yoshi-kokoro
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.