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 — migrate code from googleapis/python-documentai by holtskinner · Pull Request #8862 · GoogleCloudPlatform/python-docs-samples

Conversation

@holtskinner

@holtskinner holtskinner commented Jan 4, 2023 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

NOTE: REDO of #8450 due to duplicate commit history

  • Chore: Add requirements.txt and noxfile.py for new samples (Added export format option #45)
  • docs(samples): new Doc AI samples for v1beta3 (Added doc strings to functions with ambiguous args #44)
  • chores: fixed small issue with start index problem (modify the url link address in README.md #56)
  • chore: update samples noxfile
  • fix: removes C-style semicolons and slash comments (Add quick start sample. #59)
  • chore(deps): update dependency google-cloud-storage to v1.33.0 (Change "Datstore" to "Datastore" #61)
  • fix: added if statement to filter out dir blob files (Fixing coverage #63)
  • samples(fix): change comments to match function signature (Add reference to where to find apis. #68)
  • fix: moves import statment inside region tags (Run tests under both python 2 and 3 #71)
  • samples: added test that covers the wrong file type case (Compute Autoscaler demo #69)
  • chore: update templates (Enabling tests for python 3, fixing all python 3 incompatibilities. #74)
  • samples: migrate v1beta2 doc AI samples (All appengine web tests should use webtest. #79)
  • chore(deps): update dependency google-cloud-storage to v1.35.0 (Move bigquery 'getting started' sample into github. #78)
  • chore: added increased timeout on flaky batch request (Removed an example for caching discovery doc. #84)
  • chore: exclude .nox directories from linting (Should we move Testing part in README to CONTRIBUTING? #87)
  • chore(deps): update dependency google-cloud-storage to v1.36.0 (Storage transfer samples should follow main pattern established by the rest of the samples. #91)
  • chore(deps): update dependency google-cloud-storage to v1.36.1 (Reorganizing storage samples. #92)
  • fix(samples): swaps 'continue' for 'return' (Add a tag, for a 'paging' sample #93)
  • fix: adds comment with explicit hostname change (Logging #94)
  • chore(deps): update dependency google-cloud-storage to v1.36.2 (Re-organizing tests to be beside the samples they test. #95)
  • chore: update templates (Renaming 'samples' -> 'api'. #97)
  • chore(deps): update dependency google-cloud-storage to v1.37.0 (Adding standard module docstrings and argparse description to transfe… #104)
  • chore(deps): update dependency google-cloud-documentai to v0.4.0 (Making travis only test master branch to reduce thrashing. #103)
  • samples: updates Document AI samples to v1 version of service (Migrating sample. #108)
  • samples: more updates for v1 (Bring appengine/i18n up to standards #121)
  • chore: template updates (Bringing namespace samples up to standards #120)
  • chore(deps): update dependency google-cloud-storage to v1.37.1 (Remove datastore namespaces #114)
  • chore: migrate to owl bot (Specify source format, so json uploads work. #130)
  • chore(deps): update dependency pytest to v6.2.4 (Bring appengine/angular up to standards #124)
  • chore: new owl bot post processor docker image (Add Managed VMs Django Example #152)
  • fix: Parsing pages, but should be paragraphs (Unpin tox #147)
  • chore(deps): update dependency google-cloud-documentai to v0.5.0 (Add Django GKE Polls Sample #155)
  • chore(deps): update dependency google-cloud-storage to v1.38.0 (Make create_instance_test fail on bad output. #133)
  • chore(deps): update dependency google-cloud-storage to v1.39.0 (Fixes #168 #169)
  • chore(deps): update dependency google-cloud-storage to v1.40.0 (Update sendgrid #173)
  • chore(deps): update dependency google-cloud-storage to v1.41.0 (Moving mvm samples to runtime: python #177)
  • feat: add Samples section to CONTRIBUTING.rst (managed_vms/mailgun needs tests #181)
  • chore(deps): update dependency google-cloud-storage to v1.41.1 (managed_vms/sengrid needs tests #182)
  • chore(deps): update dependency google-cloud-documentai to v1 (Moving to py.test test runner #185)
  • samples: moves region tag to include import statement (Passing all environment variables in tox.ini #186)
  • chore: fix INSTALL_LIBRARY_FROM_SOURCE in noxfile.py (Moving datastore samples to py.test #192)
  • chore(deps): update dependency google-cloud-storage to v1.42.0 (Moving logging samples to py.test #194)
  • chore: drop mention of Python 2.7 from templates (Moving app engine samples to py.test #197)
  • samples: moves import statement within region tags (Moving storage samples to py.test #190)
  • chore(deps): update dependency pytest to v6.2.5 (Add Custom Metric Examples #204)
  • chore(deps): update dependency google-cloud-storage to v1.42.1 (Fix KeyError exception when project has no logs #209)
  • chore: blacken samples noxfile template (Managed VMs flask samples should have an error handler #212)
  • chore(deps): update dependency google-cloud-storage to v1.42.2 (Moving cloudsql sample to Cloud SQL proxy #213)
  • chore: fail samples nox session if python version is missing (Typo fix in samples/datastore/api/tasks.py #218)
  • chore(deps): update dependency google-cloud-storage to v1.42.3 (Fix pep8 style errors. #219)
  • chore(python): Add kokoro configs for python 3.10 samples testing (Update requirements #225)
  • chore(deps): update dependency google-cloud-documentai to v1.1.0 (Use metric.type instead of metric.name #227)
  • chore(deps): update dependency google-cloud-documentai to v1.2.0 (Write tests for speech sample #232)
  • docs(samples): add OCR, form, quality, splitter and specialized processing samples (Add speech api streaming sample. #239)
  • chore(python): run blacken session for all directories with a noxfile (Fix property name in projection_query #241)
  • chore(samples): Add check for tests in directory (Adding app engine request handling samples. #257)
  • chore(deps): update dependency google-cloud-storage to v2 (Adding additional app identity samples. #247)
  • chore(python): Noxfile recognizes that tests can live in a folder (Add Sengrid example #262)
  • chore(deps): update dependency google-cloud-documentai to v1.2.1 (Add Sendgrid Region Tags #263)
  • test: strip quotes and newlines from output (Adding compute engine private key generation sample. #279)
  • chore(deps): update dependency google-cloud-storage to v2.1.0 (Minor Sendgrid fixup #264)
  • chore: Adding support for pytest-xdist and pytest-parallel (Adding error handlers to all managed vms samples. #286)
  • chore(deps): update all dependencies (Write a real test for encryption sample code #281)
  • chore(deps): update dependency google-cloud-documentai to v1.3.0 (Fixing nox travis session. #290)
  • chore(deps): update dependency pytest to v7.1.0 (Added blobstore image example #291)
  • chore(deps): update dependency google-cloud-storage to v2.2.0 (Channel -- adding region tags in JS for docs #292)
  • chore(deps): update dependency google-cloud-storage to v2.2.1 (Adding appstats sample #293)
  • chore(deps): update dependency pytest to v7.1.1 (Move in ndb queries code snippets & tests #296)
  • chore(deps): update dependency google-cloud-documentai to v1.4.0 (Add XMPP Sample #297)
  • chore(python): use black==22.3.0 (Add mail samples. #301)
  • chore(deps): update dependency google-cloud-storage to v2.3.0 (Problem running endpoints oauth client #310)
  • chore(python): add nox session to sort python imports ( Complete Python Sample Code for Logging API #312)
  • chore(deps): update dependency pytest to v7.1.2 (Minor dataproc fixes #316)
  • chore: removed v1beta2 samples (Add more region tags #315)
  • chore(deps): update dependency google-cloud-documentai to v1.4.1 (Updating requirements. #319)
  • fix: require python 3.7+ (TRAVIS_COMMIT_RANGE isn't set on non-PRs #348)
  • chore(deps): update all dependencies (Updating datastore snippets #338)
  • refactor: Updates to Document AI Python Samples (json -> data arg #323)
  • chore(deps): update all dependencies (Adding sendgrid tests, fixes #182 #355)
  • chore(deps): update dependency google-cloud-documentai to v1.5.1 (Add sample for updating a cluster in Dataproc. #362)
  • docs(samples): Added Human Review Request Sample (Fixed typo in README.md #357)
  • chore(deps): update dependency google-cloud-documentai to v2 (speech_streaming.py got Error from server: Audio data is being streamed too fast.  #364)
  • chore(deps): update dependency pytest to v7.1.3 (speech_streaming.py got an error on a Raspberry Pi #374)
  • docs(samples): Updated Samples for v2.0.0 Client Library (Move vision api labelling sample. #365)
  • chore(main): release 2.0.1 (Use Explicit Imports #378)
  • chore: detect samples tests in nested directories (Segmentation Fault inside (probably) make_channel #379)
  • chore(deps): update dependency google-cloud-documentai to v2.0.1 (Add region tag #380)
  • docs(samples): Added Processor Version Samples (Update app.yaml #382)
  • chore(deps): update dependency google-cloud-documentai to v2.0.2 (Update Reqs #386)
  • chore(deps): update dependency google-cloud-documentai to v2.0.3 (Update Endpoints sample code for v1.1 alpha #390)
  • chore(deps): update dependency pytest to v7.2.0 (Update Bigtable samples to v2. #392)
  • docs(samples): Added extra exception handling to operation samples (Fix jobId parameter in bigquery sample #393)
  • chore:Remove Sample Inputs/Outputs from Repo (Flask tutorial samples #391)
  • chore(deps): update dependency google-cloud-storage to v2.6.0 (Changing cloud speech code samples to work with v1beta1 #399)
  • chore(deps): update dependency google-cloud-documentai to v2.1.0 (Updating all references to gcloud preview app to gcloud app #407)
  • docs(samples): Updated code samples for 2.1.0 release (Fixing v1beta1 tests #406)
  • chore(deps): update dependency google-cloud-documentai to v2.2.0 (Speech beta #411)
  • chore(deps): update dependency google-cloud-documentai to v2.3.0 (speech_streaming.py ERROR - something related to GPRC I suppose #414)
  • chore(python): drop flake8-import-order in samples noxfile (Refactor cloud client storage samples. #421)
  • fix(samples): Fix Typos in Batch process & get processor Samples (Virtual env inst #420)
  • chore(deps): update dependency google-cloud-documentai to v2.4.0 (Readme fix #423)
  • chore(deps): update dependency google-cloud-storage to v2.7.0 (Nl #426)
  • chore(deps): update dependency google-cloud-documentai to v2.4.1 (Use gcloud beta app deploy for Endpoints #428)
  • chore(deps): update dependency google-cloud-documentai to v2.5.0 (Add more storage samples for the cloud client libraries. #432)
  • chore(deps): update dependency google-cloud-documentai to v2.6.0 (Update logging samples to fit new style guide and match Node.js samples. #435)
  • chore(deps): update dependency mock to v5 (Update requirements. #436)

Description

Fixes #

Note: Before submitting a pull request, please open an issue for discussion if you are not associated with Google.

Checklist

  • I have followed Sample Guidelines from AUTHORING_GUIDE.MD
  • README is updated to include all relevant information
  • Tests pass: nox -s py-3.9 (see Test Environment Setup)
  • Lint pass: nox -s lint (see Test Environment Setup)
  • These samples need a new API enabled in testing projects to pass (let us know which ones)
  • These samples need a new/updated env vars in testing projects set to pass (let us know which ones)
  • Please merge this PR for me once it is approved.
  • This sample adds a new sample directory, and I updated the CODEOWNERS file with the codeowners for this sample

Sorry, something went wrong.

Uh oh!

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

All reactions
aribray and others added 30 commits October 19, 2020 11:56
@aribray
Chore: Add requirements.txt and noxfile.py for new samples (#45)
5d1ef63
* add noxfile and requirements.txt

* refactor requirements.txt

* add newline

* add newline

* add newline
@aribray @leahecole
docs(samples): new Doc AI samples for v1beta3 (#44)
d8068bc
* batch_process_sample. changing from async to synchronous

* add quick start and process_document samples and tests

* add test and sample for batch_process

* add test and sample for batch_process

* resolve formatting

* use os.environ

* remove os.path.join

* move tests

* descriptive variable

* specific Exception, formatting

* parse all pages in process_document

* add more helpful comments

* remove unused imports

* better exception handling

* rename test files

* ran linter, removed nested function in batch predict

* refactor tests

* format imports

* format imports

* format imports

* serialize as Document object

* extract get_text helper function

* fix file path

* delete test bucket

* Update samples/snippets/batch_process_documents_sample_v1beta3_test.py

Co-authored-by: Leah E. Cole <[email protected]>

* Update samples/snippets/batch_process_documents_sample_v1beta3_test.py

Co-authored-by: Leah E. Cole <[email protected]>

* add more specific assertion in batch_process

* add more specific assertion in process_document and quickstart

* fix output_uri name

* Apply suggestions from code review to resolve exception

Co-authored-by: Leah E. Cole <[email protected]>

* resolve exception

* lint

Co-authored-by: Leah E. Cole <[email protected]>
@munkhuushmgl
chores: fixed small issue with start index problem (#56)
e1f2ffd
* chores: fixed small issue with start index problem

* added missing update
@yoshi-automation
chore: update samples noxfile
dd6edae
autosynth cannot find the source of changes triggered by earlier changes in this
        repository, or by version upgrades to tools such as linters.
@telpirion
fix: removes C-style semicolons and slash comments (#59)
162c543
@renovate-bot
chore(deps): update dependency google-cloud-storage to v1.33.0 (#61)
cb39215
@munkhuushmgl
fix: added if statement to filter out dir blob files (#63)
cfbf114
Fixes #62  🦕


Current version of sample doesnt check if blob is directory or .json file. Then, it  downloads as bytes and tries to parse json from the dir blob file which will cause error.
@telpirion
samples(fix): change comments to match function signature (#68)
2c75b23
@telpirion
fix: moves import statment inside region tags (#71)
d522922
@munkhuushmgl
samples: added test that covers the wrong file type case (#69)
e1cc457
* samples: added test that covers the wrong file type case
@yoshi-automation
chore: update templates (#74)
9e9c288
* docs(python): update intersphinx for grpc and auth

* docs(python): update intersphinx for grpc and auth

* use https for python intersphinx

Co-authored-by: Tim Swast <[email protected]>

Source-Author: Bu Sun Kim <[email protected]>
Source-Date: Wed Nov 18 14:37:25 2020 -0700
Source-Repo: googleapis/synthtool
Source-Sha: 9a7d9fbb7045c34c9d3d22c1ff766eeae51f04c9
Source-Link: googleapis/synthtool@9a7d9fb

* docs(python): fix intersphinx link for google-auth

Source-Author: Bu Sun Kim <[email protected]>
Source-Date: Thu Nov 19 10:16:05 2020 -0700
Source-Repo: googleapis/synthtool
Source-Sha: a073c873f3928c561bdf87fdfbf1d081d1998984
Source-Link: googleapis/synthtool@a073c87

* chore: add config / docs for 'pre-commit' support

Source-Author: Tres Seaver <[email protected]>
Source-Date: Tue Dec 1 16:01:20 2020 -0500
Source-Repo: googleapis/synthtool
Source-Sha: 32af6da519a6b042e3da62008e2a75e991efb6b4
Source-Link: googleapis/synthtool@32af6da

* chore(deps): update precommit hook pre-commit/pre-commit-hooks to v3.3.0

Source-Author: WhiteSource Renovate <[email protected]>
Source-Date: Wed Dec 2 17:18:24 2020 +0100
Source-Repo: googleapis/synthtool
Source-Sha: 69629b64b83c6421d616be2b8e11795738ec8a6c
Source-Link: googleapis/synthtool@69629b6

* test(python): give filesystem paths to pytest-cov

https://pytest-cov.readthedocs.io/en/latest/config.html

The pytest-cov docs seem to suggest a filesystem path is expected.

Source-Author: Bu Sun Kim <[email protected]>
Source-Date: Wed Dec 2 09:28:04 2020 -0700
Source-Repo: googleapis/synthtool
Source-Sha: f94318521f63085b9ccb43d42af89f153fb39f15
Source-Link: googleapis/synthtool@f943185

* chore: update noxfile.py.j2

* Update noxfile.py.j2

add changes from @glasnt to the template template to ensure that enforcing type hinting doesn't fail for repos with the sample noxfile (aka all samples repos)
See https://github.com/GoogleCloudPlatform/python-docs-samples/pull/4869/files for context

* fix typo

Source-Author: Leah E. Cole <[email protected]>
Source-Date: Thu Dec 3 13:44:30 2020 -0800
Source-Repo: googleapis/synthtool
Source-Sha: 18c5dbdb4ac8cf75d4d8174e7b4558f48e76f8a1
Source-Link: googleapis/synthtool@18c5dbd

* chore(deps): update precommit hook pre-commit/pre-commit-hooks to v3.4.0

Co-authored-by: Tres Seaver <[email protected]>

Source-Author: WhiteSource Renovate <[email protected]>
Source-Date: Wed Dec 16 18:13:24 2020 +0100
Source-Repo: googleapis/synthtool
Source-Sha: aa255b15d52b6d8950cca48cfdf58f7d27a60c8a
Source-Link: googleapis/synthtool@aa255b1

* docs(python): document adding Python 3.9 support, dropping 3.5 support

Closes #787

Source-Author: Tres Seaver <[email protected]>
Source-Date: Thu Dec 17 16:08:02 2020 -0500
Source-Repo: googleapis/synthtool
Source-Sha: b670a77a454f415d247907908e8ee7943e06d718
Source-Link: googleapis/synthtool@b670a77

* chore: exclude `.nox` directories from linting

The samples tests create `.nox` directories
with all dependencies installed. These directories
should be excluded from linting.

I've tested this change locally, and it significantly
speeds up linting on my machine.

Source-Author: Tim Swast <[email protected]>
Source-Date: Tue Dec 22 13:04:04 2020 -0600
Source-Repo: googleapis/synthtool
Source-Sha: 373861061648b5fe5e0ac4f8a38b32d639ee93e4
Source-Link: googleapis/synthtool@3738610
@munkhuushmgl
samples: migrate v1beta2 doc AI samples (#79)
ecb67d1
* samples: migrate v1beta2 doc AI samples

* added noxfile

* reformatted code

* organized imports in right order

* lint

* finally fixed lint

* reorganized folders

* imports

* added from prefix imports

* renamed files

* renamed package on tests files

* nit
@renovate-bot
chore(deps): update dependency google-cloud-storage to v1.35.0 (#78)
9dd0c67
[![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [google-cloud-storage](https://togithub.com/googleapis/python-storage) | minor | `==1.33.0` -> `==1.35.0` |

---

### Release Notes

<details>
<summary>googleapis/python-storage</summary>

### [`v1.35.0`](https://togithub.com/googleapis/python-storage/blob/master/CHANGELOG.md#&#8203;1350-httpswwwgithubcomgoogleapispython-storagecomparev1340v1350-2020-12-14)

[Compare Source](https://togithub.com/googleapis/python-storage/compare/v1.34.0...v1.35.0)

##### Features

-   support ConnectionError retries for media operations ([#&#8203;342](https://www.github.com/googleapis/python-storage/issues/342)) ([e55b25b](https://www.github.com/googleapis/python-storage/commit/e55b25be1e32f17b17bffe1da99fca5062f180cb))

### [`v1.34.0`](https://togithub.com/googleapis/python-storage/blob/master/CHANGELOG.md#&#8203;1340-httpswwwgithubcomgoogleapispython-storagecomparev1330v1340-2020-12-11)

[Compare Source](https://togithub.com/googleapis/python-storage/compare/v1.33.0...v1.34.0)

##### Features

-   make retry parameter public and added in other methods ([#&#8203;331](https://www.github.com/googleapis/python-storage/issues/331)) ([910e34c](https://www.github.com/googleapis/python-storage/commit/910e34c57de5823bc3a04adbd87cbfe27fb41882))

##### Bug Fixes

-   avoid triggering global logging config ([#&#8203;333](https://www.github.com/googleapis/python-storage/issues/333)) ([602108a](https://www.github.com/googleapis/python-storage/commit/602108a976503271fe0d85c8d7891ce8083aca89)), closes [#&#8203;332](https://www.github.com/googleapis/python-storage/issues/332)
-   fall back to 'charset' of 'content_type' in 'download_as_text'  ([#&#8203;326](https://www.github.com/googleapis/python-storage/issues/326)) ([63ff233](https://www.github.com/googleapis/python-storage/commit/63ff23387f5873c609490be8e58d69ba34a10a5e)), closes [#&#8203;319](https://www.github.com/googleapis/python-storage/issues/319)
-   fix conditional retry handling of camelCase query params ([#&#8203;340](https://www.github.com/googleapis/python-storage/issues/340)) ([4ff6141](https://www.github.com/googleapis/python-storage/commit/4ff614161f6a2654a59706f4f72b5fbb614e70ec))
-   retry uploads only conditionally ([#&#8203;316](https://www.github.com/googleapis/python-storage/issues/316)) ([547740c](https://www.github.com/googleapis/python-storage/commit/547740c0a898492e76ce5e60dd20c7ddb8a53d1f))
-   update 'custom_time' setter to record change ([#&#8203;323](https://www.github.com/googleapis/python-storage/issues/323)) ([5174154](https://www.github.com/googleapis/python-storage/commit/5174154fe73bb6581efc3cd32ebe12014ceab306)), closes [#&#8203;322](https://www.github.com/googleapis/python-storage/issues/322)

</details>

---

### Renovate configuration

:date: **Schedule**: At any time (no schedule defined).

:vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

:recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

:no_bell: **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/python-documentai).
@munkhuushmgl
chore: added increased timeout on flaky batch request (#84)
3146c9c
@yoshi-automation
chore: exclude .nox directories from linting (#87)
567b71e
The samples tests create `.nox` directories
with all dependencies installed. These directories
should be excluded from linting.

I've tested this change locally, and it significantly
speeds up linting on my machine.

Source-Author: Tim Swast <[email protected]>
Source-Date: Tue Dec 22 13:04:04 2020 -0600
Source-Repo: googleapis/synthtool
Source-Sha: 373861061648b5fe5e0ac4f8a38b32d639ee93e4
Source-Link: googleapis/synthtool@3738610
@renovate-bot
chore(deps): update dependency google-cloud-storage to v1.36.0 (#91)
5fdb43a
@renovate-bot
chore(deps): update dependency google-cloud-storage to v1.36.1 (#92)
f3198cf
@telpirion
fix(samples): swaps 'continue' for 'return' (#93)
95710e3
* fix: swaps 'continue' for 'return'
@telpirion
fix: adds comment with explicit hostname change (#94)
8908d29
* fix: adds switching code for client_options based upon location
@renovate-bot
chore(deps): update dependency google-cloud-storage to v1.36.2 (#95)
5cdea39
@yoshi-automation
chore: update templates (#97)
3fea6b4
* chore(python): skip docfx in main presubmit

* fix: properly template the repo name

Source-Author: Bu Sun Kim <[email protected]>
Source-Date: Fri Jan 8 10:32:13 2021 -0700
Source-Repo: googleapis/synthtool
Source-Sha: fb53b6fb373b7c3edf4e55f3e8036bc6d73fa483
Source-Link: googleapis/synthtool@fb53b6f

* chore: add missing quotation mark

Source-Author: Bu Sun Kim <[email protected]>
Source-Date: Mon Jan 11 09:43:06 2021 -0700
Source-Repo: googleapis/synthtool
Source-Sha: 16ec872dd898d7de6e1822badfac32484b5d9031
Source-Link: googleapis/synthtool@16ec872

* chore: add 3.9 to noxfile template

Since the python-docs-samples noxfile-template doesn't sync with this, I wanted to make sure the noxfile template matched the most recent change [here](https://github.com/GoogleCloudPlatform/python-docs-samples/pull/4968/files)

cc @tmatsuo

Source-Author: Leah E. Cole <[email protected]>
Source-Date: Fri Jan 15 17:24:05 2021 -0800
Source-Repo: googleapis/synthtool
Source-Sha: 56ddc68f36b32341e9f22c2c59b4ce6aa3ba635f
Source-Link: googleapis/synthtool@56ddc68

* build(python): make `NOX_SESSION` optional

I added this accidentally in #889. `NOX_SESSION` should be passed down if it is set but not marked required.

Source-Author: Bu Sun Kim <[email protected]>
Source-Date: Tue Jan 19 09:38:04 2021 -0700
Source-Repo: googleapis/synthtool
Source-Sha: ba960d730416fe05c50547e975ce79fcee52c671
Source-Link: googleapis/synthtool@ba960d7

* chore: Add header checker config to python library synth

Now that we have it working in [python-docs-samples](https://github.com/GoogleCloudPlatform/python-docs-samples/blob/master/.github/header-checker-lint.yml) we should consider adding it to the 🐍 libraries :)

Source-Author: Leah E. Cole <[email protected]>
Source-Date: Mon Jan 25 13:24:08 2021 -0800
Source-Repo: googleapis/synthtool
Source-Sha: 573f7655311b553a937f9123bee17bf78497db95
Source-Link: googleapis/synthtool@573f765

* chore: add noxfile parameters for extra dependencies

Also, add tests for some noxfile parameters for assurance that the
template generates valid Python.

Co-authored-by: Jeffrey Rennie <[email protected]>

Source-Author: Tim Swast <[email protected]>
Source-Date: Tue Jan 26 12:26:57 2021 -0600
Source-Repo: googleapis/synthtool
Source-Sha: 778d8beae28d6d87eb01fdc839a4b4d966ed2ebe
Source-Link: googleapis/synthtool@778d8be

* build: migrate to flakybot

Source-Author: Justin Beckwith <[email protected]>
Source-Date: Thu Jan 28 22:22:38 2021 -0800
Source-Repo: googleapis/synthtool
Source-Sha: d1bb9173100f62c0cfc8f3138b62241e7f47ca6a
Source-Link: googleapis/synthtool@d1bb917

* chore(python): include py.typed files in release

A py.typed file must be included in the released package for it to be considered typed by type checkers. https://www.python.org/dev/peps/pep-0561/#packaging-type-information. See googleapis/python-secret-manager#79

Source-Author: Bu Sun Kim <[email protected]>
Source-Date: Fri Feb 5 17:32:06 2021 -0700
Source-Repo: googleapis/synthtool
Source-Sha: 33366574ffb9e11737b3547eb6f020ecae0536e8
Source-Link: googleapis/synthtool@3336657

* docs: update python contributing guide

Adds details about blacken, updates version for system tests,
and shows how to pass through pytest arguments.

Source-Author: Chris Cotter <[email protected]>
Source-Date: Mon Feb 8 17:13:36 2021 -0500
Source-Repo: googleapis/synthtool
Source-Sha: 4679e7e415221f03ff2a71e3ffad75b9ec41d87e
Source-Link: googleapis/synthtool@4679e7e

* build(python): enable flakybot on library unit and system tests

Source-Author: Bu Sun Kim <[email protected]>
Source-Date: Wed Feb 17 14:10:46 2021 -0700
Source-Repo: googleapis/synthtool
Source-Sha: d17674372e27fb8f23013935e794aa37502071aa
Source-Link: googleapis/synthtool@d176743

* test: install pyopenssl for mtls testing

Source-Author: arithmetic1728 <[email protected]>
Source-Date: Tue Mar 2 12:27:56 2021 -0800
Source-Repo: googleapis/synthtool
Source-Sha: 0780323da96d5a53925fe0547757181fe76e8f1e
Source-Link: googleapis/synthtool@0780323
@renovate-bot
chore(deps): update dependency google-cloud-storage to v1.37.0 (#104)
a9f7ecd
@renovate-bot
chore(deps): update dependency google-cloud-documentai to v0.4.0 (#103)
f24cd97
@telpirion
samples: updates Document AI samples to v1 version of service (#108)
3789ad8
@telpirion
samples: more updates for v1 (#121)
73e39b1
* samples: more updates for v1

* fix: lint

* fix: tests

* fix: tests

* fix: tests
@yoshi-automation
chore: template updates (#120)
d558291
This PR was generated using Autosynth. 🌈

Synth log will be available here:
https://source.cloud.google.com/results/invocations/60d94463-5a7c-4c76-829d-2ff8e6f3696f/targets

- [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.)

Source-Link: googleapis/synthtool@0a071b3
@renovate-bot
chore(deps): update dependency google-cloud-storage to v1.37.1 (#114)
feea57d
[![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [google-cloud-storage](https://togithub.com/googleapis/python-storage) | `==1.37.0` -> `==1.37.1` | [![age](https://badges.renovateapi.com/packages/pypi/google-cloud-storage/1.37.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/google-cloud-storage/1.37.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/google-cloud-storage/1.37.1/compatibility-slim/1.37.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/google-cloud-storage/1.37.1/confidence-slim/1.37.0)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>googleapis/python-storage</summary>

### [`v1.37.1`](https://togithub.com/googleapis/python-storage/blob/master/CHANGELOG.md#&#8203;1371-httpswwwgithubcomgoogleapispython-storagecomparev1370v1371-2021-04-02)

[Compare Source](https://togithub.com/googleapis/python-storage/compare/v1.37.0...v1.37.1)

</details>

---

### Configuration

:date: **Schedule**: At any time (no schedule defined).

:vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

:recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

:no_bell: **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box.

---

This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/python-documentai).
@parthea
chore: migrate to owl bot (#130)
5a5416b
@renovate-bot
chore(deps): update dependency pytest to v6.2.4 (#124)
4b1653f
[![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [pytest](https://docs.pytest.org/en/latest/) ([source](https://togithub.com/pytest-dev/pytest), [changelog](https://docs.pytest.org/en/stable/changelog.html)) | `==6.1.1` -> `==6.2.4` | [![age](https://badges.renovateapi.com/packages/pypi/pytest/6.2.4/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/pytest/6.2.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/pytest/6.2.4/compatibility-slim/6.1.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/pytest/6.2.4/confidence-slim/6.1.1)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>pytest-dev/pytest</summary>

### [`v6.2.4`](https://togithub.com/pytest-dev/pytest/releases/6.2.4)

[Compare Source](https://togithub.com/pytest-dev/pytest/compare/6.2.3...6.2.4)

# pytest 6.2.4 (2021-05-04)

## Bug Fixes

-   [#&#8203;8539](https://togithub.com/pytest-dev/pytest/issues/8539): Fixed assertion rewriting on Python 3.10.

### [`v6.2.3`](https://togithub.com/pytest-dev/pytest/releases/6.2.3)

[Compare Source](https://togithub.com/pytest-dev/pytest/compare/6.2.2...6.2.3)

# pytest 6.2.3 (2021-04-03)

## Bug Fixes

-   [#&#8203;8414](https://togithub.com/pytest-dev/pytest/issues/8414): pytest used to create directories under `/tmp` with world-readable
    permissions. This means that any user in the system was able to read
    information written by tests in temporary directories (such as those created by
    the `tmp_path`/`tmpdir` fixture). Now the directories are created with
    private permissions.

    pytest used silenty use a pre-existing `/tmp/pytest-of-<username>` directory,
    even if owned by another user. This means another user could pre-create such a
    directory and gain control of another user\\'s temporary directory. Now such a
    condition results in an error.

### [`v6.2.2`](https://togithub.com/pytest-dev/pytest/releases/6.2.2)

[Compare Source](https://togithub.com/pytest-dev/pytest/compare/6.2.1...6.2.2)

# pytest 6.2.2 (2021-01-25)

## Bug Fixes

-   [#&#8203;8152](https://togithub.com/pytest-dev/pytest/issues/8152): Fixed "(&lt;Skipped instance>)" being shown as a skip reason in the verbose test summary line when the reason is empty.
-   [#&#8203;8249](https://togithub.com/pytest-dev/pytest/issues/8249): Fix the `faulthandler` plugin for occasions when running with `twisted.logger` and using `pytest --capture=no`.

### [`v6.2.1`](https://togithub.com/pytest-dev/pytest/releases/6.2.1)

[Compare Source](https://togithub.com/pytest-dev/pytest/compare/6.2.0...6.2.1)

# pytest 6.2.1 (2020-12-15)

## Bug Fixes

-   [#&#8203;7678](https://togithub.com/pytest-dev/pytest/issues/7678): Fixed bug where `ImportPathMismatchError` would be raised for files compiled in
    the host and loaded later from an UNC mounted path (Windows).
-   [#&#8203;8132](https://togithub.com/pytest-dev/pytest/issues/8132): Fixed regression in `approx`: in 6.2.0 `approx` no longer raises
    `TypeError` when dealing with non-numeric types, falling back to normal comparison.
    Before 6.2.0, array types like tf.DeviceArray fell through to the scalar case,
    and happened to compare correctly to a scalar if they had only one element.
    After 6.2.0, these types began failing, because they inherited neither from
    standard Python number hierarchy nor from `numpy.ndarray`.

    `approx` now converts arguments to `numpy.ndarray` if they expose the array
    protocol and are not scalars. This treats array-like objects like numpy arrays,
    regardless of size.

### [`v6.2.0`](https://togithub.com/pytest-dev/pytest/releases/6.2.0)

[Compare Source](https://togithub.com/pytest-dev/pytest/compare/6.1.2...6.2.0)

# pytest 6.2.0 (2020-12-12)

## Breaking Changes

-   [#&#8203;7808](https://togithub.com/pytest-dev/pytest/issues/7808): pytest now supports python3.6+ only.

## Deprecations

-   [#&#8203;7469](https://togithub.com/pytest-dev/pytest/issues/7469): Directly constructing/calling the following classes/functions is now deprecated:

    -   `_pytest.cacheprovider.Cache`
    -   `_pytest.cacheprovider.Cache.for_config()`
    -   `_pytest.cacheprovider.Cache.clear_cache()`
    -   `_pytest.cacheprovider.Cache.cache_dir_from_config()`
    -   `_pytest.capture.CaptureFixture`
    -   `_pytest.fixtures.FixtureRequest`
    -   `_pytest.fixtures.SubRequest`
    -   `_pytest.logging.LogCaptureFixture`
    -   `_pytest.pytester.Pytester`
    -   `_pytest.pytester.Testdir`
    -   `_pytest.recwarn.WarningsRecorder`
    -   `_pytest.recwarn.WarningsChecker`
    -   `_pytest.tmpdir.TempPathFactory`
    -   `_pytest.tmpdir.TempdirFactory`

    These have always been considered private, but now issue a deprecation warning, which may become a hard error in pytest 7.0.0.

-   [#&#8203;7530](https://togithub.com/pytest-dev/pytest/issues/7530): The `--strict` command-line option has been deprecated, use `--strict-markers` instead.

    We have plans to maybe in the future to reintroduce `--strict` and make it an encompassing flag for all strictness
    related options (`--strict-markers` and `--strict-config` at the moment, more might be introduced in the future).

-   [#&#8203;7988](https://togithub.com/pytest-dev/pytest/issues/7988): The `@pytest.yield_fixture` decorator/function is now deprecated. Use pytest.fixture instead.

    `yield_fixture` has been an alias for `fixture` for a very long time, so can be search/replaced safely.

## Features

-   [#&#8203;5299](https://togithub.com/pytest-dev/pytest/issues/5299): pytest now warns about unraisable exceptions and unhandled thread exceptions that occur in tests on Python>=3.8.
    See unraisable for more information.
-   [#&#8203;7425](https://togithub.com/pytest-dev/pytest/issues/7425): New pytester fixture, which is identical to testdir but its methods return pathlib.Path when appropriate instead of `py.path.local`.

    This is part of the movement to use pathlib.Path objects internally, in order to remove the dependency to `py` in the future.

    Internally, the old Testdir &lt;\_pytest.pytester.Testdir> is now a thin wrapper around Pytester &lt;\_pytest.pytester.Pytester>, preserving the old interface.

-   [#&#8203;7695](https://togithub.com/pytest-dev/pytest/issues/7695): A new hook was added, pytest_markeval_namespace which should return a dictionary.
    This dictionary will be used to augment the "global" variables available to evaluate skipif/xfail/xpass markers.

    Pseudo example

    `conftest.py`:

    ```{.sourceCode .python}
    def pytest_markeval_namespace():
        return {"color": "red"}
    ```

    `test_func.py`:

    ```{.sourceCode .python}
    @&#8203;pytest.mark.skipif("color == 'blue'", reason="Color is not red")
    def test_func():
        assert False
    ```

-   [#&#8203;8006](https://togithub.com/pytest-dev/pytest/issues/8006): It is now possible to construct a ~pytest.MonkeyPatch object directly as `pytest.MonkeyPatch()`,
    in cases when the monkeypatch fixture cannot be used. Previously some users imported it
    from the private \_pytest.monkeypatch.MonkeyPatch namespace.

    Additionally, MonkeyPatch.context &lt;pytest.MonkeyPatch.context> is now a classmethod,
    and can be used as `with MonkeyPatch.context() as mp: ...`. This is the recommended way to use
    `MonkeyPatch` directly, since unlike the `monkeypatch` fixture, an instance created directly
    is not `undo()`-ed automatically.

## Improvements

-   [#&#8203;1265](https://togithub.com/pytest-dev/pytest/issues/1265): Added an `__str__` implementation to the ~pytest.pytester.LineMatcher class which is returned from `pytester.run_pytest().stdout` and similar. It returns the entire output, like the existing `str()` method.
-   [#&#8203;2044](https://togithub.com/pytest-dev/pytest/issues/2044): Verbose mode now shows the reason that a test was skipped in the test's terminal line after the "SKIPPED", "XFAIL" or "XPASS".
-   [#&#8203;7469](https://togithub.com/pytest-dev/pytest/issues/7469) The types of builtin pytest fixtures are now exported so they may be used in type annotations of test functions.
    The newly-exported types are:

    -   `pytest.FixtureRequest` for the request fixture.
    -   `pytest.Cache` for the cache fixture.
    -   `pytest.CaptureFixture[str]` for the capfd and capsys fixtures.
    -   `pytest.CaptureFixture[bytes]` for the capfdbinary and capsysbinary fixtures.
    -   `pytest.LogCaptureFixture` for the caplog fixture.
    -   `pytest.Pytester` for the pytester fixture.
    -   `pytest.Testdir` for the testdir fixture.
    -   `pytest.TempdirFactory` for the tmpdir_factory fixture.
    -   `pytest.TempPathFactory` for the tmp_path_factory fixture.
    -   `pytest.MonkeyPatch` for the monkeypatch fixture.
    -   `pytest.WarningsRecorder` for the recwarn fixture.

    Constructing them is not supported (except for MonkeyPatch); they are only meant for use in type annotations.
    Doing so will emit a deprecation warning, and may become a hard-error in pytest 7.0.

    Subclassing them is also not supported. This is not currently enforced at runtime, but is detected by type-checkers such as mypy.

-   [#&#8203;7527](https://togithub.com/pytest-dev/pytest/issues/7527): When a comparison between namedtuple &lt;collections.namedtuple> instances of the same type fails, pytest now shows the differing field names (possibly nested) instead of their indexes.
-   [#&#8203;7615](https://togithub.com/pytest-dev/pytest/issues/7615): Node.warn &lt;\_pytest.nodes.Node.warn> now permits any subclass of Warning, not just PytestWarning &lt;pytest.PytestWarning>.
-   [#&#8203;7701](https://togithub.com/pytest-dev/pytest/issues/7701): Improved reporting when using `--collected-only`. It will now show the number of collected tests in the summary stats.
-   [#&#8203;7710](https://togithub.com/pytest-dev/pytest/issues/7710): Use strict equality comparison for non-numeric types in pytest.approx instead of
    raising TypeError.

    This was the undocumented behavior before 3.7, but is now officially a supported feature.

-   [#&#8203;7938](https://togithub.com/pytest-dev/pytest/issues/7938): New `--sw-skip` argument which is a shorthand for `--stepwise-skip`.
-   [#&#8203;8023](https://togithub.com/pytest-dev/pytest/issues/8023): Added `'node_modules'` to default value for norecursedirs.
-   [#&#8203;8032](https://togithub.com/pytest-dev/pytest/issues/8032): doClassCleanups &lt;unittest.TestCase.doClassCleanups> (introduced in unittest in Python and 3.8) is now called appropriately.

## Bug Fixes

-   [#&#8203;4824](https://togithub.com/pytest-dev/pytest/issues/4824): Fixed quadratic behavior and improved performance of collection of items using autouse fixtures and xunit fixtures.
-   [#&#8203;7758](https://togithub.com/pytest-dev/pytest/issues/7758): Fixed an issue where some files in packages are getting lost from `--lf` even though they contain tests that failed. Regressed in pytest 5.4.0.
-   [#&#8203;7911](https://togithub.com/pytest-dev/pytest/issues/7911): Directories created by by tmp_path and tmpdir are now considered stale after 3 days without modification (previous value was 3 hours) to avoid deleting directories still in use in long running test suites.
-   [#&#8203;7913](https://togithub.com/pytest-dev/pytest/issues/7913): Fixed a crash or hang in pytester.spawn &lt;\_pytest.pytester.Pytester.spawn> when the readline module is involved.
-   [#&#8203;7951](https://togithub.com/pytest-dev/pytest/issues/7951): Fixed handling of recursive symlinks when collecting tests.
-   [#&#8203;7981](https://togithub.com/pytest-dev/pytest/issues/7981): Fixed symlinked directories not being followed during collection. Regressed in pytest 6.1.0.
-   [#&#8203;8016](https://togithub.com/pytest-dev/pytest/issues/8016): Fixed only one doctest being collected when using `pytest --doctest-modules path/to/an/__init__.py`.

## Improved Documentation

-   [#&#8203;7429](https://togithub.com/pytest-dev/pytest/issues/7429): Add more information and use cases about skipping doctests.
-   [#&#8203;7780](https://togithub.com/pytest-dev/pytest/issues/7780): Classes which should not be inherited from are now marked `final class` in the API reference.
-   [#&#8203;7872](https://togithub.com/pytest-dev/pytest/issues/7872): `_pytest.config.argparsing.Parser.addini()` accepts explicit `None` and `"string"`.
-   [#&#8203;7878](https://togithub.com/pytest-dev/pytest/issues/7878): In pull request section, ask to commit after editing changelog and authors file.

## Trivial/Internal Changes

-   [#&#8203;7802](https://togithub.com/pytest-dev/pytest/issues/7802): The `attrs` dependency requirement is now >=19.2.0 instead of >=17.4.0.
-   [#&#8203;8014](https://togithub.com/pytest-dev/pytest/issues/8014): .pyc files created by pytest's assertion rewriting now conform to the newer PEP-552 format on Python>=3.7.
    (These files are internal and only interpreted by pytest itself.)

### [`v6.1.2`](https://togithub.com/pytest-dev/pytest/releases/6.1.2)

[Compare Source](https://togithub.com/pytest-dev/pytest/compare/6.1.1...6.1.2)

# pytest 6.1.2 (2020-10-28)

## Bug Fixes

-   [#&#8203;7758](https://togithub.com/pytest-dev/pytest/issues/7758): Fixed an issue where some files in packages are getting lost from `--lf` even though they contain tests that failed. Regressed in pytest 5.4.0.
-   [#&#8203;7911](https://togithub.com/pytest-dev/pytest/issues/7911): Directories created by tmpdir are now considered stale after 3 days without modification (previous value was 3 hours) to avoid deleting directories still in use in long running test suites.

## Improved Documentation

-   [#&#8203;7815](https://togithub.com/pytest-dev/pytest/issues/7815): Improve deprecation warning message for `pytest._fillfuncargs()`.

</details>

---

### Configuration

📅 **Schedule**: At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻️ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box.

---

This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/python-documentai).
@gcf-owl-bot
chore: new owl bot post processor docker image (#152)
cb957c5
gcr.io/repo-automation-bots/owlbot-python:latest@sha256:3c3a445b3ddc99ccd5d31edc4b4519729635d20693900db32c4f587ed51f7479
renovate-bot and others added 10 commits November 15, 2022 09:06
@renovate-bot
chore(deps): update dependency google-cloud-documentai to v2.3.0 (#414)
95773fb
@gcf-owl-bot
chore(python): drop flake8-import-order in samples noxfile (#421)
f9c6fa3
Source-Link: googleapis/synthtool@6ed3a83
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:3abfa0f1886adaf0b83f07cb117b24a639ea1cb9cffe56d43280b977033563eb

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
@holtskinner
fix(samples): Fix Typos in Batch process & get processor Samples (#420)
1d89983
@renovate-bot
chore(deps): update dependency google-cloud-documentai to v2.4.0 (#423)
a789ef7
@holtskinner @renovate-bot
chore(deps): update dependency google-cloud-storage to v2.7.0 (#426)
3e9f022
* chore(deps): update dependency google-cloud-storage to v2.7.0

* docs(samples): removed batch_process_documents_sample_bad_input_test

Co-authored-by: Renovate Bot <[email protected]>
@renovate-bot
chore(deps): update dependency google-cloud-documentai to v2.4.1 (#428)
38a7849
@renovate-bot
chore(deps): update dependency google-cloud-documentai to v2.5.0 (#432)
47ed844
@renovate-bot
chore(deps): update dependency google-cloud-documentai to v2.6.0 (#435)
207c183
@renovate-bot
chore(deps): update dependency mock to v5 (#436)
b568ab0
@holtskinner
Merge remote-tracking branch 'migration/main' into documentai-migration
6c09164
@product-auto-label product-auto-label Bot added the samples Issues that are directly related to samples. label Jan 4, 2023
@google-cla

google-cla Bot commented Jan 4, 2023

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

All reactions

Sorry, something went wrong.

Uh oh!

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

holtskinner added 5 commits January 5, 2023 13:00
@holtskinner
Changed import from samples.snippets to documentai.snippets
d1d27e4
- Ran Black Formatting
@holtskinner
Repository Migration logistics
6bd843f
- Updated Blunderbuss
- Updated CODEOWNERS
- Added Init.py
- Added Authoring Guide and Contributing
- Removed obsolete document directory
@holtskinner
Removed old noxfile, replaced with noxfile_config
ffb1d0e
@holtskinner
Adjusted enable/disable processor tests for new output from API
6b5e99c
@holtskinner
Fixed Typo in Comments
5a81603
- `other than 'us', e.g.:` -> `other than 'us'.`
@holtskinner
holtskinner force-pushed the documentai-migration branch from 455bdac to 5a81603 Compare January 5, 2023 20:09
@holtskinner
holtskinner marked this pull request as ready for review January 5, 2023 20:21
@holtskinner
holtskinner requested review from a team as code owners January 5, 2023 20:21
@snippet-bot

snippet-bot Bot commented Jan 5, 2023

Copy link
Copy Markdown

Here is the summary of changes.

You are about to add 28 region tags.
  • documentai/snippets/batch_process_documents_processor_version_sample.py:16, tag documentai_batch_process_documents_processor_version
  • documentai/snippets/batch_process_documents_sample.py:16, tag documentai_batch_process_document
  • documentai/snippets/cancel_operation_sample.py:16, tag documentai_cancel_operation
  • documentai/snippets/create_processor_sample.py:16, tag documentai_create_processor
  • documentai/snippets/delete_processor_sample.py:16, tag documentai_delete_processor
  • documentai/snippets/delete_processor_version_sample.py:16, tag documentai_delete_processor_version
  • documentai/snippets/deploy_processor_version_sample.py:16, tag documentai_deploy_processor_version
  • documentai/snippets/disable_processor_sample.py:16, tag documentai_disable_processor
  • documentai/snippets/enable_processor_sample.py:16, tag documentai_enable_processor
  • documentai/snippets/fetch_processor_types_sample.py:16, tag documentai_fetch_processor_types
  • documentai/snippets/get_operation_sample.py:16, tag documentai_get_operation
  • documentai/snippets/get_processor_sample.py:16, tag documentai_get_processor
  • documentai/snippets/get_processor_version_sample.py:16, tag documentai_get_processor_version
  • documentai/snippets/list_operations_sample.py:16, tag documentai_list_operations
  • documentai/snippets/list_processor_versions_sample.py:16, tag documentai_list_processor_versions
  • documentai/snippets/list_processors_sample.py:16, tag documentai_list_processors
  • documentai/snippets/poll_operation_sample.py:16, tag documentai_poll_operation
  • documentai/snippets/process_document_form_sample.py:16, tag documentai_process_form_document
  • documentai/snippets/process_document_ocr_sample.py:16, tag documentai_process_ocr_document
  • documentai/snippets/process_document_processor_version_sample.py:16, tag documentai_process_document_processor_version
  • documentai/snippets/process_document_quality_sample.py:16, tag documentai_process_quality_document
  • documentai/snippets/process_document_sample.py:16, tag documentai_process_document
  • documentai/snippets/process_document_specialized_sample.py:16, tag documentai_process_specialized_document
  • documentai/snippets/process_document_splitter_sample.py:16, tag documentai_process_splitter_document
  • documentai/snippets/quickstart_sample.py:17, tag documentai_quickstart
  • documentai/snippets/review_document_sample.py:16, tag documentai_review_document
  • documentai/snippets/set_default_processor_version_sample.py:16, tag documentai_set_default_processor_version
  • documentai/snippets/undeploy_processor_version_sample.py:16, tag documentai_undeploy_processor_version

This comment is generated by snippet-bot.
If you find problems with this result, please file an issue at:
https://github.com/googleapis/repo-automation-bots/issues.
To update this comment, add snippet-bot:force-run label or use the checkbox below:

  • Refresh this comment
All reactions

Sorry, something went wrong.

Uh oh!

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

@holtskinner holtskinner mentioned this pull request Jan 5, 2023
migrate code from googleapis/python-documentai #8450
Closed
8 tasks
dandhlee
dandhlee approved these changes Jan 5, 2023
View reviewed changes

@dandhlee dandhlee left a comment

Copy link
Copy Markdown
Collaborator

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.

LGTM. Rebasing and admin merging!

Sorry, something went wrong.

Uh oh!

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

All reactions
@dandhlee
dandhlee merged commit 82adb91 into main Jan 5, 2023
@dandhlee
dandhlee deleted the documentai-migration branch January 5, 2023 20:50
holtskinner added a commit to googleapis/python-documentai that referenced this pull request Jan 6, 2023
@holtskinner
docs(samples): Removed Samples after Migration to Mono Repo
638080e
- Followup to GoogleCloudPlatform/python-docs-samples#8862
@holtskinner holtskinner mentioned this pull request Jan 6, 2023
docs(samples): Removed Samples after Migration to Mono Repo googleapis/python-documentai#438
Merged
holtskinner added a commit to googleapis/python-documentai that referenced this pull request Jan 13, 2023
@holtskinner @parthea
docs(samples): Removed Samples after Migration to Mono Repo (#438)
8c7f52b
- Followup to GoogleCloudPlatform/python-docs-samples#8862

Co-authored-by: Anthonios Partheniou <[email protected]>
parthea added a commit to googleapis/google-cloud-python that referenced this pull request Jun 4, 2023
@holtskinner @parthea
docs(samples): Removed Samples after Migration to Mono Repo (#438)
c61b8cc
- Followup to GoogleCloudPlatform/python-docs-samples#8862

Co-authored-by: Anthonios Partheniou <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@dandhlee dandhlee dandhlee approved these changes

Uh oh!

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

Assignees

No one assigned

Labels

samples Issues that are directly related to samples.

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.

12 participants

@holtskinner @dandhlee @aribray @munkhuushmgl @yoshi-automation @telpirion @renovate-bot @parthea @dgallegos @matthewayne @busunkim96 @galdawave
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.