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

Add client for Data Labeling API #7635

Merged
merged 10 commits into from
Apr 2, 2019
Merged

Conversation

tswast
Copy link
Contributor

@tswast tswast commented Apr 1, 2019

Release tracked internally at issue 123708690.

tswast added 4 commits April 1, 2019 13:00
* Generate client for Data Labeling Service

Configures synthtool and copies shared config (.flake8, .coveragerc,
.gitignore, noxfile) from BQ Storage API.

* Blacken

* Copyright 2019
* Regen datalabeling.

Output from synthtool:

```
synthtool > Executing /Users/swast/src/google-cloud-python-private/datalabeling/synth.py.
synthtool > Ensuring dependencies.
synthtool > Pulling artman image.
latest: Pulling from googleapis/artman
Digest: sha256:70ba28fda87e032ae44e6df41b7fc342c1b0cce1ed90658c4890eb4f613038c2
Status: Image is up to date for googleapis/artman:latest
synthtool > Using local googleapis at /Users/swast/src/googleapis-private
synthtool > Running generator for google/cloud/datalabeling/artman_datalabeling_v1beta1.yaml.
synthtool > Generated code into /Users/swast/src/googleapis-private/artman-genfiles/python/datalabeling-v1beta1.
synthtool > Copy: /Users/swast/src/googleapis-private/google/cloud/datalabeling/v1beta1/operations.proto to /Users/swast/src/googleapis-private/artman-genfiles/python/datalabeling-v1beta1/google/cloud/datalabeling_v1beta1/proto/operations.proto
synthtool > Copy: /Users/swast/src/googleapis-private/google/cloud/datalabeling/v1beta1/dataset.proto to /Users/swast/src/googleapis-private/artman-genfiles/python/datalabeling-v1beta1/google/cloud/datalabeling_v1beta1/proto/dataset.proto
synthtool > Copy: /Users/swast/src/googleapis-private/google/cloud/datalabeling/v1beta1/annotation_spec_set.proto to /Users/swast/src/googleapis-private/artman-genfiles/python/datalabeling-v1beta1/google/cloud/datalabeling_v1beta1/proto/annotation_spec_set.proto
synthtool > Copy: /Users/swast/src/googleapis-private/google/cloud/datalabeling/v1beta1/human_annotation_config.proto to /Users/swast/src/googleapis-private/artman-genfiles/python/datalabeling-v1beta1/google/cloud/datalabeling_v1beta1/proto/human_annotation_config.proto
synthtool > Copy: /Users/swast/src/googleapis-private/google/cloud/datalabeling/v1beta1/annotation.proto to /Users/swast/src/googleapis-private/artman-genfiles/python/datalabeling-v1beta1/google/cloud/datalabeling_v1beta1/proto/annotation.proto
synthtool > Copy: /Users/swast/src/googleapis-private/google/cloud/datalabeling/v1beta1/data_labeling_service.proto to /Users/swast/src/googleapis-private/artman-genfiles/python/datalabeling-v1beta1/google/cloud/datalabeling_v1beta1/proto/data_labeling_service.proto
synthtool > Copy: /Users/swast/src/googleapis-private/google/cloud/datalabeling/v1beta1/instruction.proto to /Users/swast/src/googleapis-private/artman-genfiles/python/datalabeling-v1beta1/google/cloud/datalabeling_v1beta1/proto/instruction.proto
synthtool > Placed proto files into /Users/swast/src/googleapis-private/artman-genfiles/python/datalabeling-v1beta1/google/cloud/datalabeling_v1beta1/proto.
synthtool > Replaced 'operations_pb2.ImportDataOperationResponse' in google/cloud/datalabeling_v1beta1/gapic/data_labeling_service_client.py.
synthtool > Replaced 'operations_pb2.ImportDataOperationMetadata' in google/cloud/datalabeling_v1beta1/gapic/data_labeling_service_client.py.
synthtool > Replaced 'operations_pb2.Operation\\(' in tests/unit/gapic/v1beta1/test_data_labeling_service_client_v1beta1.py.
nox > Running session blacken
nox > Creating virtualenv using python3.6 in /Users/swast/src/google-cloud-python-private/datalabeling/.nox/blacken
nox > pip install --upgrade black
nox > black google tests docs
reformatted /Users/swast/src/google-cloud-python-private/datalabeling/google/cloud/__init__.py
reformatted /Users/swast/src/google-cloud-python-private/datalabeling/google/__init__.py
reformatted /Users/swast/src/google-cloud-python-private/datalabeling/google/cloud/datalabeling.py
reformatted /Users/swast/src/google-cloud-python-private/datalabeling/google/cloud/datalabeling_v1beta1/gapic/enums.py
reformatted /Users/swast/src/google-cloud-python-private/datalabeling/google/cloud/datalabeling_v1beta1/gapic/data_labeling_service_client_config.py
reformatted /Users/swast/src/google-cloud-python-private/datalabeling/google/cloud/datalabeling_v1beta1/proto/annotation_pb2_grpc.py
reformatted /Users/swast/src/google-cloud-python-private/datalabeling/google/cloud/datalabeling_v1beta1/gapic/transports/data_labeling_service_grpc_transport.py
reformatted /Users/swast/src/google-cloud-python-private/datalabeling/google/cloud/datalabeling_v1beta1/proto/annotation_spec_set_pb2_grpc.py
reformatted /Users/swast/src/google-cloud-python-private/datalabeling/google/cloud/datalabeling_v1beta1/proto/annotation_spec_set_pb2.py
reformatted /Users/swast/src/google-cloud-python-private/datalabeling/google/cloud/datalabeling_v1beta1/proto/data_labeling_service_pb2_grpc.py
reformatted /Users/swast/src/google-cloud-python-private/datalabeling/google/cloud/datalabeling_v1beta1/gapic/data_labeling_service_client.py
reformatted /Users/swast/src/google-cloud-python-private/datalabeling/google/cloud/datalabeling_v1beta1/proto/dataset_pb2_grpc.py
reformatted /Users/swast/src/google-cloud-python-private/datalabeling/google/cloud/datalabeling_v1beta1/proto/human_annotation_config_pb2.py
reformatted /Users/swast/src/google-cloud-python-private/datalabeling/google/cloud/datalabeling_v1beta1/proto/human_annotation_config_pb2_grpc.py
reformatted /Users/swast/src/google-cloud-python-private/datalabeling/google/cloud/datalabeling_v1beta1/proto/annotation_pb2.py
reformatted /Users/swast/src/google-cloud-python-private/datalabeling/google/cloud/datalabeling_v1beta1/proto/instruction_pb2_grpc.py
reformatted /Users/swast/src/google-cloud-python-private/datalabeling/google/cloud/datalabeling_v1beta1/proto/instruction_pb2.py
reformatted /Users/swast/src/google-cloud-python-private/datalabeling/google/cloud/datalabeling_v1beta1/proto/operations_pb2_grpc.py
reformatted /Users/swast/src/google-cloud-python-private/datalabeling/google/cloud/datalabeling_v1beta1/types.py
reformatted /Users/swast/src/google-cloud-python-private/datalabeling/google/cloud/datalabeling_v1beta1/proto/dataset_pb2.py
reformatted /Users/swast/src/google-cloud-python-private/datalabeling/google/cloud/datalabeling_v1beta1/proto/data_labeling_service_pb2.py
reformatted /Users/swast/src/google-cloud-python-private/datalabeling/tests/unit/gapic/v1beta1/test_data_labeling_service_client_v1beta1.py
reformatted /Users/swast/src/google-cloud-python-private/datalabeling/google/cloud/datalabeling_v1beta1/proto/operations_pb2.py
All done! ✨ 🍰 ✨
23 files reformatted, 5 files left unchanged.
nox > Session blacken was successful.
synthtool > Cleaned up 0 temporary directories.
synthtool > Wrote metadata to synth.metadata.
```

* Re-ran synthtool
@tswast tswast requested a review from busunkim96 April 1, 2019 20:42
@tswast tswast requested a review from crwilcox as a code owner April 1, 2019 20:42
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Apr 1, 2019

.. _Data Labeling API Product documentation: https://cloud.google.com/datalabeling
.. _repository’s main README: https://github.com/GoogleCloudPlatform/google-cloud-python/blob/master/README.rst

Copy link
Contributor

Choose a reason for hiding this comment

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

The top part of this file is a duplicate of the README. We usually remove the contents up to and replace it with an include directive.

"Configure docs" in the Python playbook has more detailed instructions: https://docs.google.com/document/d/12zgf1-rnl_wxEJ2RhDyXtvt3p208wA8uzNgKS8qVxqo/edit#heading=h.6hoho6l42qwc

datalabeling/docs/index.rst Outdated Show resolved Hide resolved
@tswast tswast merged commit 4cff4d8 into googleapis:master Apr 2, 2019
@tswast tswast deleted the datalabeling branch April 2, 2019 00:09
parthea pushed a commit that referenced this pull request Jun 4, 2023
* Generate client for Data Labeling Service (#484)

Configures synthtool and copies shared config (.flake8, .coveragerc,
.gitignore, noxfile) from BQ Storage API.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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