Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(language): change docstring formatting; bump copyright year to 2020 (via synth) #10234

Merged
merged 2 commits into from
Jan 30, 2020

Conversation

yoshi-automation
Copy link
Contributor

This PR was generated using Autosynth. 🌈

Commits in this repo since last synth:
01b7fb9 docs(bigquery): typo fix (#10209)
9ad21f4 feat(core): change default api_request() timeout to non-None (#10219)
8a0e129 fix(automl): fix TablesClient.predict for array and struct (#9991)
7e36fda deprecate(bigquery): deprecate client.dataset() in favor of DatasetReference (#7753)
73eac04 chore(recommender): release 0.2.0 (#10204)
c411e14 feat(recommender): add v1, set release level to beta (#10170)
8e7b7f8 feat(api_core): add retry param into PollingFuture() and it's inheritors (#9923)
0280a94 feat(bigquery): check rows argument type in insert_rows() (#10174)
3c4335d feat(bigquerydatatransfer): add service_account_name option to transfer configs (#10013)
a51da49 test(datacatalog): run unit tests with Python 3.8 (#10014)
c61c238 fix: be permssive about merging an empty struct (#10079)
bda44b3 chore(pubsub): add Python 3.8 unit tests run (via synth)
ae54dc3 feat(bigquery): check json_rows arg type in insert_rows_json() (#10162)
ae7ef87 chore(pubsub): declaratively drop Python 3.4 support (#10168)
d262e9e chores(storage): release 1.25.0 (#10165)
cae942b chore(storage): bump core dependency to 1.2.0 (#10160)
d44e9bf docs(pubsub): tiny spelling mistake fix (#10163)
4886d77 docs(language): fixes typo in Natural Language samples (#10134)
b492bdc fix(bigquerystorage): resume reader connection on EOS internal error (#9994)
7a64502 fix: replace unsafe six.PY3 with PY2 for better future compatibility with Python 4 (#10081)
c71d5f8 refactor(bigquery): to_dataframe uses faster to_arrow + to_pandas when pyarrow is available (#10027)
121394c fix(bigquerystorage): to_dataframe on an arrow stream uses 2x faster to_arrow + to_pandas, internally (#9997)
c05ffe7 chore(core): release core 1.2.0 (#10135)
4b7444a chores(core): bump api-core dependency to 1.16.0 (#10111)
54eac56 docs(spanner): fix Instance.update() docstrings (#10106)
9de4ca1 chore(api_core): release 1.16.0 (#10109)
a0a062d feat(bigtable): support requested_policy_version for Instance IAM (#10001)
9b856cf feat(storage): support optionsRequestedPolicyVersion (#9989)
d897d56 fix(bigquery): write pandas datetime[ns] columns to BigQuery TIMESTAMP columns (#10028)
70fe9b4 fix(logging): update test assertion and core version pins (#10087)
240f381 feat(bigquery): add RowIterator.to_dataframe_iterable method to get pandas DataFrame per page (#10017)
3bb565b fix(storage): fix document of delete blob (#10015)
5ad6287 fix(translate): update test assertion and core version pins (#10098)
561dced fix(dns): update test assertion and core version pins (#10096)
755eb36 fix(resourcemanager): update test assertion and core version pin (#10095)
b144fbf fix(runtimeconfig): update test assertion and core version pins (#10097)
c25d741 feat(api_core): support version 3 policy bindings (#9869)
fafead7 chore(recommender): correct config path in synth file for recommender (#10076)
20cf3b2 chore(cloudbuild): fix broken synth file (#10077)
0384238 fix(bigquery): fix minimum version of dependency (#10016)
be8e6d4 doc(automl): add example for creating a TablesClient for EU in docstring (#9825)
b387134 fix(trace)!: remove span_path resource helper method from v2; modify retry configs; standardize usage of 'optional' and 'required' for args in docstrings; add 2.7 deprecation warning (via synth) (#10075)
16fec16 fix(iot): modify retry and timeout configs; add 2.7 deprecation warning; add 'required' to docstring for required args; add 3.8 unit tests (via synth) (#10069)
efd2e53 chore(bigquery): use 3.6 for blacken session (#10012)
21e4ff3 feat(phishingprotection): undeprecate resource name helper methods, add 2.7 deprecation warning (via synth) (#10048)
e04d1db feat(redis): undeprecate resource name helper methods, add 2.7 deprecation warning (via synth) (#10049)
d2c32d8 fix(speech): increase default timeout for v1p1beta1 (via synth) (#9999)
fe83407 feat(talent): undeprecate resource name helpers, add 2.7 sunset warning (via synth) (#10050)
0d48116 docs(texttospeech): add 2.7 deprecation warning (via synth) (#10051)
b10c2e2 feat(vision): undeprecate resource name helpers, add 2.7 sunset warning (via synth) (#10052)
42a152c feat(websecurityscanner): undeprecate resource name helpers, add 2.7 sunset warning (via synth) (#10054)
838a65b feat(kms): undeprecate resource name helper methods, add 2.7 deprecation warning (via synth) (#10045)
44849f6 feat(irm): undeprecate resource name helper methods, add 2.7 deprecation warning (via synth) (#10044)
feefced feat(iam): undeprecate resource name helper methods, add 2.7 deprecation warning (via synth) (#10043)
fa33be7 docs(grafeas): add 2.7 deprecation warning (via synth) (#10042)
55944f6 docs(documentai): add 2.7 deprecation warning (via synth) (#10041)
b663b61 feat(dlp): undeprecate resource name helper methods, add 2.7 deprecation warning (via synth) (#10040)
3d00a9c feat(datalabeling): undeprecate resource name helper methods (via synth) (#10039)
3093f3c feat(billingbudgets): undeprecate resource name helper methods, add 2.7 deprecation warning (via synth) (#10038)
b35a983 feat(automl): undeprecate resource name helper methods, add 2.7 deprecation warning (via synth) (#10037)
9df3d9c feat(asset): undeprecate resource name helper methods, add 2.7 deprecation warning (via synth) (#10036)
f9004e4 chore(datacatalog): update README to reflect Beta launch status (#10055)
38e7711 feat(spanner): add deprecation warnings; add field_mask to get_instance; add endpoint_uris to Instance proto; update timeouts; make mutations optional for commits (via synth)
de73e45 feat(bigquery): add retry parameter to public methods where missing (#10026)
e41ed8a doc(bigquery): uncomment Client constructor and imports in samples (#10058)
d81158c chore(bigtable): release 1.2.1 (#10057)
1dcb95f fix(bigtable): add ability to use single-row transactions (#10021)
c6d953b chore(storage): release 1.24.1 (#10034)
ac544b1 feat(storage): add 'ARCHIVE' storage class (#9533)
92d7b46 chore(storage): release 1.24.0 (#10032)
c71b490 chore(firestore): release 1.6.1 (#10031)
13a870c fix: recover watch stream on more error types (#9995)
154c8ec cleanup(bigquery): remove unused query code sample (#10024)
26dd729 feat(bigquery): add timeout parameter to client's and job's public methods (#10002)
ae22885 feat: add timeout parameter to Batch interface to match google-cloud-core (#10010)
4f7d4b1 refactor(bigquery): update code samples to use strings for table and dataset IDs (#9974)
fe9deb1 fix(datacatalog): deprecate resource name helper methods (via synth) (#9831)
37f0677 fix(bigquery_datatransfer): deprecate resource name helper methods (via synth) (#9829)
4d70df3 docs(iam): mark required params as required in docstring (via synth) (#10006)
13bd849 feat(bigquery): add timeout parameter to QueryJob.done() method (#9875)
2dabc2d feat(datacatalog): add sample for create a fileset entry quickstart (#9977)
8bb4068 fix(automl): fix TypeError when passing a client_info to automl TablesClient (#9949)
217bd2b feat(bigquery): add create_bqstorage_client param to to_dataframe and to_arrow (#9573)
5447d1c chore(api_core): release 1.15.0 (#9984)
d372f66 fix(pubsub): handle None in on response callback (#9982)
9031316 chore(bigquery): release 1.23.1 (#9981)
4dfafe9 fix(bigquery): add six dependency in setup file (#9979)
52b54aa chore(billingbudgets): release 0.2.0 (#9969)
1e19f9b feat(bigquery): add iamMember entity type to allowed access classes (#9973)
68c2cc8 docs(bigquery): add sample to read from query destination table (#9964)
8f67bf8 chore(asset): release 0.6.0 (#9968)
fdd7246 feat(asset): add real time feed support to v1 (via synth) (#9930)
7dff593 docs(monitoring): tweak formatting in proto comments (via synth) (#9966)
eb3713d fix(bigquery): fix typo in import error message (pandas -> pyarrow) (#9955)
72c1275 chore(bigquery): release 1.23.0 (#9961)
d2518ae docs(talent): update docstring for DiversificationLevel (#9958)
a4e19ed chore(dlp): release 0.13.0 (#9927)
8177673 feat(api_core): make the last retry happen at deadline (#9873)
4d90932 chore(pubsub): release 1.1.0 (#9950)
19d1b4e test(websecurityscanner): add 3.8 unit tests (via synth) (#9945)
ec70946 test(vision): add 3.8 unit tests (via synth) (#9944)
0eb0970 test(talent): add 3.8 unit tests (via synth) (#9941)
7780883 test(texttospeech): add 3.8 unit tests (via synth) (#9942)

Log from Synthtool
synthtool > Executing /tmpfs/src/git/autosynth/working_repo/language/synth.py.
synthtool > Ensuring dependencies.
synthtool > Pulling artman image.
latest: Pulling from googleapis/artman
Digest: sha256:19e945954fc960a4bdfee6cb34695898ab21a8cf0bac063ee39b91f00a1faec8
Status: Image is up to date for googleapis/artman:latest
synthtool > Cloning googleapis.
synthtool > Running generator for google/cloud/language/artman_language_v1beta2.yaml.
synthtool > Generated code into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/language-v1beta2.
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/language/v1beta2/language_service.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/language-v1beta2/google/cloud/language_v1beta2/proto/language_service.proto
synthtool > Placed proto files into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/language-v1beta2/google/cloud/language_v1beta2/proto.
synthtool > No files in sources /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/language-v1beta2/samples were copied. Does the source contain files?
synthtool > Running generator for google/cloud/language/artman_language_v1.yaml.
synthtool > Generated code into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/language-v1.
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/language/v1/language_service.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/language-v1/google/cloud/language_v1/proto/language_service.proto
synthtool > Placed proto files into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/language-v1/google/cloud/language_v1/proto.
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/language/v1/samples/test/analyzing_sentiment.test.yaml to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/language-v1/samples/v1/test/analyzing_sentiment.test.yaml
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/language/v1/samples/test/analyzing_entity_sentiment.test.yaml to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/language-v1/samples/v1/test/analyzing_entity_sentiment.test.yaml
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/language/v1/samples/test/analyzing_syntax.test.yaml to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/language-v1/samples/v1/test/analyzing_syntax.test.yaml
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/language/v1/samples/test/analyzing_entities.test.yaml to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/language-v1/samples/v1/test/analyzing_entities.test.yaml
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/language/v1/samples/test/classifying_content.test.yaml to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/language-v1/samples/v1/test/classifying_content.test.yaml
synthtool > Writing samples manifest ['gen-manifest', '--env=python', '--bin=python3', '--output=v1/test/samples.manifest.yaml', '--chdir={@manifest_dir}/../..', 'v1/language_entity_sentiment_gcs.py', 'v1/language_classify_gcs.py', 'v1/language_syntax_gcs.py', 'v1/language_entities_text.py', 'v1/language_classify_text.py', 'v1/language_syntax_text.py', 'v1/language_entity_sentiment_text.py', 'v1/language_entities_gcs.py', 'v1/language_sentiment_gcs.py', 'v1/language_sentiment_text.py']
synthtool > No files in sources /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/language-v1/tests/system/gapic/v1 were copied. Does the source contain files?
.coveragerc
.flake8
MANIFEST.in
docs/_static/custom.css
docs/_templates/layout.html
noxfile.py.j2
setup.cfg
synthtool > Replaced 'types\\.EncodingType' in google/cloud/language_v1beta2/gapic/language_service_client.py.
synthtool > Replaced 'types\\.EncodingType' in google/cloud/language_v1/gapic/language_service_client.py.
Running session blacken
Creating virtual environment (virtualenv) using python3.6 in .nox/blacken
pip install black==19.3b0
black docs google tests noxfile.py setup.py samples
reformatted /tmpfs/src/git/autosynth/working_repo/language/google/cloud/language_v1/gapic/language_service_client_config.py
reformatted /tmpfs/src/git/autosynth/working_repo/language/google/cloud/language_v1/gapic/transports/language_service_grpc_transport.py
reformatted /tmpfs/src/git/autosynth/working_repo/language/google/cloud/language_v1/gapic/enums.py
reformatted /tmpfs/src/git/autosynth/working_repo/language/google/cloud/language_v1/proto/language_service_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/language/google/cloud/language_v1/gapic/language_service_client.py
reformatted /tmpfs/src/git/autosynth/working_repo/language/google/cloud/language_v1beta2/gapic/language_service_client_config.py
reformatted /tmpfs/src/git/autosynth/working_repo/language/google/cloud/language_v1beta2/gapic/transports/language_service_grpc_transport.py
reformatted /tmpfs/src/git/autosynth/working_repo/language/google/cloud/language_v1beta2/gapic/enums.py
reformatted /tmpfs/src/git/autosynth/working_repo/language/google/cloud/language_v1beta2/gapic/language_service_client.py
reformatted /tmpfs/src/git/autosynth/working_repo/language/google/cloud/language_v1beta2/proto/language_service_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/language/samples/v1/language_classify_gcs.py
reformatted /tmpfs/src/git/autosynth/working_repo/language/samples/v1/language_classify_text.py
reformatted /tmpfs/src/git/autosynth/working_repo/language/samples/v1/language_entities_gcs.py
reformatted /tmpfs/src/git/autosynth/working_repo/language/samples/v1/language_entities_text.py
reformatted /tmpfs/src/git/autosynth/working_repo/language/samples/v1/language_entity_sentiment_gcs.py
reformatted /tmpfs/src/git/autosynth/working_repo/language/samples/v1/language_entity_sentiment_text.py
reformatted /tmpfs/src/git/autosynth/working_repo/language/samples/v1/language_sentiment_gcs.py
reformatted /tmpfs/src/git/autosynth/working_repo/language/samples/v1/language_sentiment_text.py
reformatted /tmpfs/src/git/autosynth/working_repo/language/samples/v1/language_syntax_gcs.py
reformatted /tmpfs/src/git/autosynth/working_repo/language/samples/v1/language_syntax_text.py
reformatted /tmpfs/src/git/autosynth/working_repo/language/tests/system/gapic/v1beta2/test_system_language_service_v1beta2.py
reformatted /tmpfs/src/git/autosynth/working_repo/language/tests/unit/gapic/v1/test_language_service_client_v1.py
reformatted /tmpfs/src/git/autosynth/working_repo/language/tests/unit/gapic/v1beta2/test_language_service_client_v1beta2.py
reformatted /tmpfs/src/git/autosynth/working_repo/language/google/cloud/language_v1/proto/language_service_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/language/google/cloud/language_v1beta2/proto/language_service_pb2.py
All done! ✨ 🍰 ✨
25 files reformatted, 19 files left unchanged.
Session blacken was successful.
synthtool > Wrote metadata to synth.metadata.

@yoshi-automation yoshi-automation added the api: language Issues related to the Cloud Natural Language API API. label Jan 29, 2020
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jan 29, 2020
@busunkim96 busunkim96 changed the title [CHANGE ME] Re-generated language to pick up changes in the API or client library generator. docs(language): change docstring formatting; bump copyright year to 2020 (via synth) Jan 29, 2020
@@ -2871,7 +2871,10 @@
dict(
DESCRIPTOR=_DOCUMENT,
__module__="google.cloud.language_v1.proto.language_service_pb2",
__doc__="""Represents the input to API methods.
__doc__="""################################################################
Copy link
Contributor

Choose a reason for hiding this comment

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

The long '#####' is breaking the docs build

@busunkim96 busunkim96 merged commit 0e75d9e into master Jan 30, 2020
This was referenced Jan 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: language Issues related to the Cloud Natural Language API API. cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants