From 6697195c3f01b3bcd7f8d251c99498c77e310078 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 21 Apr 2020 16:54:19 -0700 Subject: [PATCH] chore: update templates (via synth) (#14) --- .coveragerc | 16 ++++ .flake8 | 16 ++++ .github/ISSUE_TEMPLATE/bug_report.md | 3 +- CONTRIBUTING.rst | 15 +-- MANIFEST.in | 16 ++++ .../proto/annotation_pb2.py | 65 ++----------- .../proto/annotation_spec_set_pb2.py | 17 ++-- .../proto/data_labeling_service_pb2.py | 92 +------------------ .../proto/data_payloads_pb2.py | 8 -- .../datalabeling_v1beta1/proto/dataset_pb2.py | 53 +++-------- .../proto/evaluation_job_pb2.py | 25 ++--- .../proto/evaluation_pb2.py | 35 ++----- .../proto/human_annotation_config_pb2.py | 48 ++-------- .../proto/instruction_pb2.py | 14 +-- .../proto/operations_pb2.py | 43 +-------- noxfile.py | 4 +- setup.cfg | 16 ++++ synth.metadata | 25 +++-- 18 files changed, 149 insertions(+), 362 deletions(-) diff --git a/.coveragerc b/.coveragerc index b178b09..dd39c85 100644 --- a/.coveragerc +++ b/.coveragerc @@ -1,3 +1,19 @@ +# -*- coding: utf-8 -*- +# +# Copyright 2020 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # Generated by synthtool. DO NOT EDIT! [run] branch = True diff --git a/.flake8 b/.flake8 index 0268ecc..20fe9bd 100644 --- a/.flake8 +++ b/.flake8 @@ -1,3 +1,19 @@ +# -*- coding: utf-8 -*- +# +# Copyright 2020 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # Generated by synthtool. DO NOT EDIT! [flake8] ignore = E203, E266, E501, W503 diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 66b48a9..f7ac089 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -11,8 +11,7 @@ Thanks for stopping by to let us know something could be better! Please run down the following list and make sure you've tried the usual "quick fixes": - Search the issues already opened: https://github.com/googleapis/python-datalabeling/issues - - Search the issues on our "catch-all" repository: https://github.com/googleapis/google-cloud-python - - Search StackOverflow: http://stackoverflow.com/questions/tagged/google-cloud-platform+python + - Search StackOverflow: https://stackoverflow.com/questions/tagged/google-cloud-platform+python If you are still having issues, please be sure to include as much information as possible: diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 375e7a1..eb1602f 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -22,7 +22,7 @@ In order to add a feature: documentation. - The feature must work fully on the following CPython versions: 2.7, - 3.5, 3.6, and 3.7 on both UNIX and Windows. + 3.5, 3.6, 3.7 and 3.8 on both UNIX and Windows. - The feature must not add unnecessary dependencies (where "unnecessary" is of course subjective, but new dependencies should @@ -214,26 +214,18 @@ We support: - `Python 3.5`_ - `Python 3.6`_ - `Python 3.7`_ +- `Python 3.8`_ .. _Python 3.5: https://docs.python.org/3.5/ .. _Python 3.6: https://docs.python.org/3.6/ .. _Python 3.7: https://docs.python.org/3.7/ +.. _Python 3.8: https://docs.python.org/3.8/ Supported versions can be found in our ``noxfile.py`` `config`_. .. _config: https://github.com/googleapis/python-datalabeling/blob/master/noxfile.py -We explicitly decided not to support `Python 2.5`_ due to `decreased usage`_ -and lack of continuous integration `support`_. - -.. _Python 2.5: https://docs.python.org/2.5/ -.. _decreased usage: https://caremad.io/2013/10/a-look-at-pypi-downloads/ -.. _support: https://blog.travis-ci.com/2013-11-18-upcoming-build-environment-updates/ - -We have `dropped 2.6`_ as a supported version as well since Python 2.6 is no -longer supported by the core development team. - Python 2.7 support is deprecated. All code changes should maintain Python 2.7 compatibility until January 1, 2020. We also explicitly decided to support Python 3 beginning with version @@ -247,7 +239,6 @@ We also explicitly decided to support Python 3 beginning with version .. _prominent: https://docs.djangoproject.com/en/1.9/faq/install/#what-python-version-can-i-use-with-django .. _projects: http://flask.pocoo.org/docs/0.10/python3/ .. _Unicode literal support: https://www.python.org/dev/peps/pep-0414/ -.. _dropped 2.6: https://github.com/googleapis/google-cloud-python/issues/995 ********** Versioning diff --git a/MANIFEST.in b/MANIFEST.in index cd011be..68855ab 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,3 +1,19 @@ +# -*- coding: utf-8 -*- +# +# Copyright 2020 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # Generated by synthtool. DO NOT EDIT! include README.rst LICENSE recursive-include google *.json *.proto diff --git a/google/cloud/datalabeling_v1beta1/proto/annotation_pb2.py b/google/cloud/datalabeling_v1beta1/proto/annotation_pb2.py index 5ba2d89..f60d789 100644 --- a/google/cloud/datalabeling_v1beta1/proto/annotation_pb2.py +++ b/google/cloud/datalabeling_v1beta1/proto/annotation_pb2.py @@ -2014,12 +2014,9 @@ dict( DESCRIPTOR=_ANNOTATION, __module__="google.cloud.datalabeling_v1beta1.proto.annotation_pb2", - __doc__="""Annotation for Example. Each example may have one or more - annotations. For example in image classification problem, each image - might have one or more labels. We call labels binded with this image an - Annotation. - - + __doc__="""Annotation for Example. Each example may have one or more annotations. + For example in image classification problem, each image might have one + or more labels. We call labels binded with this image an Annotation. Attributes: name: Output only. Unique name of this annotation, format is: proje @@ -2049,8 +2046,6 @@ DESCRIPTOR=_ANNOTATIONVALUE, __module__="google.cloud.datalabeling_v1beta1.proto.annotation_pb2", __doc__="""Annotation value for an example. - - Attributes: image_classification_annotation: Annotation value for image classification case. @@ -2087,8 +2082,6 @@ DESCRIPTOR=_IMAGECLASSIFICATIONANNOTATION, __module__="google.cloud.datalabeling_v1beta1.proto.annotation_pb2", __doc__="""Image classification annotation definition. - - Attributes: annotation_spec: Label of image. @@ -2105,8 +2098,6 @@ DESCRIPTOR=_VERTEX, __module__="google.cloud.datalabeling_v1beta1.proto.annotation_pb2", __doc__="""X coordinate. - - Attributes: y: Y coordinate. @@ -2123,8 +2114,6 @@ DESCRIPTOR=_NORMALIZEDVERTEX, __module__="google.cloud.datalabeling_v1beta1.proto.annotation_pb2", __doc__="""X coordinate. - - Attributes: y: Y coordinate. @@ -2141,8 +2130,6 @@ DESCRIPTOR=_BOUNDINGPOLY, __module__="google.cloud.datalabeling_v1beta1.proto.annotation_pb2", __doc__="""A bounding polygon in the image. - - Attributes: vertices: The bounding polygon vertices. @@ -2159,8 +2146,6 @@ DESCRIPTOR=_NORMALIZEDBOUNDINGPOLY, __module__="google.cloud.datalabeling_v1beta1.proto.annotation_pb2", __doc__="""Normalized bounding polygon. - - Attributes: normalized_vertices: The bounding polygon normalized vertices. @@ -2176,10 +2161,8 @@ dict( DESCRIPTOR=_IMAGEBOUNDINGPOLYANNOTATION, __module__="google.cloud.datalabeling_v1beta1.proto.annotation_pb2", - __doc__="""Image bounding poly annotation. It represents a polygon - including bounding box in the image. - - + __doc__="""Image bounding poly annotation. It represents a polygon including + bounding box in the image. Attributes: bounded_area: The region of the polygon. If it is a bounding box, it is @@ -2199,8 +2182,6 @@ DESCRIPTOR=_POLYLINE, __module__="google.cloud.datalabeling_v1beta1.proto.annotation_pb2", __doc__="""A line with multiple line segments. - - Attributes: vertices: The polyline vertices. @@ -2217,8 +2198,6 @@ DESCRIPTOR=_NORMALIZEDPOLYLINE, __module__="google.cloud.datalabeling_v1beta1.proto.annotation_pb2", __doc__="""Normalized polyline. - - Attributes: normalized_vertices: The normalized polyline vertices. @@ -2235,8 +2214,6 @@ DESCRIPTOR=_IMAGEPOLYLINEANNOTATION, __module__="google.cloud.datalabeling_v1beta1.proto.annotation_pb2", __doc__="""A polyline for the image annotation. - - Attributes: annotation_spec: Label of this polyline. @@ -2262,8 +2239,6 @@ DESCRIPTOR=_IMAGESEGMENTATIONANNOTATION, __module__="google.cloud.datalabeling_v1beta1.proto.annotation_pb2", __doc__="""Image segmentation annotation. - - Attributes: annotation_colors: The mapping between rgb color and annotation spec. The key is @@ -2287,8 +2262,6 @@ DESCRIPTOR=_TEXTCLASSIFICATIONANNOTATION, __module__="google.cloud.datalabeling_v1beta1.proto.annotation_pb2", __doc__="""Text classification annotation. - - Attributes: annotation_spec: Label of the text. @@ -2305,8 +2278,6 @@ DESCRIPTOR=_TEXTENTITYEXTRACTIONANNOTATION, __module__="google.cloud.datalabeling_v1beta1.proto.annotation_pb2", __doc__="""Text entity extraction annotation. - - Attributes: annotation_spec: Label of the text entities. @@ -2325,8 +2296,6 @@ DESCRIPTOR=_SEQUENTIALSEGMENT, __module__="google.cloud.datalabeling_v1beta1.proto.annotation_pb2", __doc__="""Start and end position in a sequence (e.g. text segment). - - Attributes: start: Start position (inclusive). @@ -2344,10 +2313,8 @@ dict( DESCRIPTOR=_TIMESEGMENT, __module__="google.cloud.datalabeling_v1beta1.proto.annotation_pb2", - __doc__="""A time period inside of an example that has a time - dimension (e.g. video). - - + __doc__="""A time period inside of an example that has a time dimension (e.g. + video). Attributes: start_time_offset: Start of the time segment (inclusive), represented as the @@ -2368,8 +2335,6 @@ DESCRIPTOR=_VIDEOCLASSIFICATIONANNOTATION, __module__="google.cloud.datalabeling_v1beta1.proto.annotation_pb2", __doc__="""Video classification annotation. - - Attributes: time_segment: The time segment of the video to which the annotation applies. @@ -2387,10 +2352,7 @@ dict( DESCRIPTOR=_OBJECTTRACKINGFRAME, __module__="google.cloud.datalabeling_v1beta1.proto.annotation_pb2", - __doc__="""Video frame level annotation for object detection and - tracking. - - + __doc__="""Video frame level annotation for object detection and tracking. Attributes: bounded_area: The bounding box location of this object track for the frame. @@ -2410,8 +2372,6 @@ DESCRIPTOR=_VIDEOOBJECTTRACKINGANNOTATION, __module__="google.cloud.datalabeling_v1beta1.proto.annotation_pb2", __doc__="""Video object tracking annotation. - - Attributes: annotation_spec: Label of the object tracked in this annotation. @@ -2433,8 +2393,6 @@ DESCRIPTOR=_VIDEOEVENTANNOTATION, __module__="google.cloud.datalabeling_v1beta1.proto.annotation_pb2", __doc__="""Video event annotation. - - Attributes: annotation_spec: Label of the event in this annotation. @@ -2453,8 +2411,6 @@ DESCRIPTOR=_ANNOTATIONMETADATA, __module__="google.cloud.datalabeling_v1beta1.proto.annotation_pb2", __doc__="""Additional information associated with the annotation. - - Attributes: operator_metadata: Metadata related to human labeling. @@ -2470,10 +2426,7 @@ dict( DESCRIPTOR=_OPERATORMETADATA, __module__="google.cloud.datalabeling_v1beta1.proto.annotation_pb2", - __doc__="""General information useful for labels coming from - contributors. - - + __doc__="""General information useful for labels coming from contributors. Attributes: score: Confidence score corresponding to a label. For examle, if 3 diff --git a/google/cloud/datalabeling_v1beta1/proto/annotation_spec_set_pb2.py b/google/cloud/datalabeling_v1beta1/proto/annotation_spec_set_pb2.py index 7201902..3bcaa55 100644 --- a/google/cloud/datalabeling_v1beta1/proto/annotation_spec_set_pb2.py +++ b/google/cloud/datalabeling_v1beta1/proto/annotation_spec_set_pb2.py @@ -216,12 +216,10 @@ dict( DESCRIPTOR=_ANNOTATIONSPECSET, __module__="google.cloud.datalabeling_v1beta1.proto.annotation_spec_set_pb2", - __doc__="""An AnnotationSpecSet is a collection of label definitions. - For example, in image classification tasks, you define a set of possible + __doc__="""An AnnotationSpecSet is a collection of label definitions. For + example, in image classification tasks, you define a set of possible labels for images as an AnnotationSpecSet. An AnnotationSpecSet is immutable upon creation. - - Attributes: name: Output only. The AnnotationSpecSet resource name in the @@ -253,13 +251,10 @@ dict( DESCRIPTOR=_ANNOTATIONSPEC, __module__="google.cloud.datalabeling_v1beta1.proto.annotation_spec_set_pb2", - __doc__="""Container of information related to one possible - annotation that can be used in a labeling task. For example, an image - classification task where images are labeled as ``dog`` or ``cat`` must - reference an AnnotationSpec for ``dog`` and an AnnotationSpec for - ``cat``. - - + __doc__="""Container of information related to one possible annotation that can + be used in a labeling task. For example, an image classification task + where images are labeled as ``dog`` or ``cat`` must reference an + AnnotationSpec for ``dog`` and an AnnotationSpec for ``cat``. Attributes: display_name: Required. The display name of the AnnotationSpec. Maximum of diff --git a/google/cloud/datalabeling_v1beta1/proto/data_labeling_service_pb2.py b/google/cloud/datalabeling_v1beta1/proto/data_labeling_service_pb2.py index 258d5a0..1227cd0 100644 --- a/google/cloud/datalabeling_v1beta1/proto/data_labeling_service_pb2.py +++ b/google/cloud/datalabeling_v1beta1/proto/data_labeling_service_pb2.py @@ -3465,8 +3465,6 @@ DESCRIPTOR=_CREATEDATASETREQUEST, __module__="google.cloud.datalabeling_v1beta1.proto.data_labeling_service_pb2", __doc__="""Request message for CreateDataset. - - Attributes: parent: Required. Dataset resource parent, format: @@ -3486,8 +3484,6 @@ DESCRIPTOR=_GETDATASETREQUEST, __module__="google.cloud.datalabeling_v1beta1.proto.data_labeling_service_pb2", __doc__="""Request message for GetDataSet. - - Attributes: name: Required. Dataset resource name, format: @@ -3505,8 +3501,6 @@ DESCRIPTOR=_LISTDATASETSREQUEST, __module__="google.cloud.datalabeling_v1beta1.proto.data_labeling_service_pb2", __doc__="""Request message for ListDataset. - - Attributes: parent: Required. Dataset resource parent, format: @@ -3536,8 +3530,6 @@ DESCRIPTOR=_LISTDATASETSRESPONSE, __module__="google.cloud.datalabeling_v1beta1.proto.data_labeling_service_pb2", __doc__="""Results of listing datasets within a project. - - Attributes: datasets: The list of datasets to return. @@ -3556,8 +3548,6 @@ DESCRIPTOR=_DELETEDATASETREQUEST, __module__="google.cloud.datalabeling_v1beta1.proto.data_labeling_service_pb2", __doc__="""Request message for DeleteDataset. - - Attributes: name: Required. Dataset resource name, format: @@ -3575,8 +3565,6 @@ DESCRIPTOR=_IMPORTDATAREQUEST, __module__="google.cloud.datalabeling_v1beta1.proto.data_labeling_service_pb2", __doc__="""Request message for ImportData API. - - Attributes: name: Required. Dataset resource name, format: @@ -3599,8 +3587,6 @@ DESCRIPTOR=_EXPORTDATAREQUEST, __module__="google.cloud.datalabeling_v1beta1.proto.data_labeling_service_pb2", __doc__="""Request message for ExportData API. - - Attributes: name: Required. Dataset resource name, format: @@ -3630,8 +3616,6 @@ DESCRIPTOR=_GETDATAITEMREQUEST, __module__="google.cloud.datalabeling_v1beta1.proto.data_labeling_service_pb2", __doc__="""Request message for GetDataItem. - - Attributes: name: Required. The name of the data item to get, format: projects/{ @@ -3649,8 +3633,6 @@ DESCRIPTOR=_LISTDATAITEMSREQUEST, __module__="google.cloud.datalabeling_v1beta1.proto.data_labeling_service_pb2", __doc__="""Request message for ListDataItems. - - Attributes: parent: Required. Name of the dataset to list data items, format: @@ -3680,8 +3662,6 @@ DESCRIPTOR=_LISTDATAITEMSRESPONSE, __module__="google.cloud.datalabeling_v1beta1.proto.data_labeling_service_pb2", __doc__="""Results of listing data items in a dataset. - - Attributes: data_items: The list of data items to return. @@ -3700,8 +3680,6 @@ DESCRIPTOR=_GETANNOTATEDDATASETREQUEST, __module__="google.cloud.datalabeling_v1beta1.proto.data_labeling_service_pb2", __doc__="""Request message for GetAnnotatedDataset. - - Attributes: name: Required. Name of the annotated dataset to get, format: projec @@ -3720,8 +3698,6 @@ DESCRIPTOR=_LISTANNOTATEDDATASETSREQUEST, __module__="google.cloud.datalabeling_v1beta1.proto.data_labeling_service_pb2", __doc__="""Request message for ListAnnotatedDatasets. - - Attributes: parent: Required. Name of the dataset to list annotated datasets, @@ -3751,8 +3727,6 @@ DESCRIPTOR=_LISTANNOTATEDDATASETSRESPONSE, __module__="google.cloud.datalabeling_v1beta1.proto.data_labeling_service_pb2", __doc__="""Results of listing annotated datasets for a dataset. - - Attributes: annotated_datasets: The list of annotated datasets to return. @@ -3771,8 +3745,6 @@ DESCRIPTOR=_DELETEANNOTATEDDATASETREQUEST, __module__="google.cloud.datalabeling_v1beta1.proto.data_labeling_service_pb2", __doc__="""Request message for DeleteAnnotatedDataset. - - Attributes: name: Required. Name of the annotated dataset to delete, format: pro @@ -3791,8 +3763,6 @@ DESCRIPTOR=_LABELIMAGEREQUEST, __module__="google.cloud.datalabeling_v1beta1.proto.data_labeling_service_pb2", __doc__="""Request message for starting an image labeling task. - - Attributes: request_config: Required. Config for labeling tasks. The type of request @@ -3833,8 +3803,6 @@ DESCRIPTOR=_LABELVIDEOREQUEST, __module__="google.cloud.datalabeling_v1beta1.proto.data_labeling_service_pb2", __doc__="""Request message for LabelVideo. - - Attributes: request_config: Required. Config for labeling tasks. The type of request @@ -3875,8 +3843,6 @@ DESCRIPTOR=_LABELTEXTREQUEST, __module__="google.cloud.datalabeling_v1beta1.proto.data_labeling_service_pb2", __doc__="""Request message for LabelText. - - Attributes: request_config: Required. Config for labeling tasks. The type of request @@ -3909,8 +3875,6 @@ DESCRIPTOR=_GETEXAMPLEREQUEST, __module__="google.cloud.datalabeling_v1beta1.proto.data_labeling_service_pb2", __doc__="""Request message for GetExample - - Attributes: name: Required. Name of example, format: projects/{project\_id}/data @@ -3933,8 +3897,6 @@ DESCRIPTOR=_LISTEXAMPLESREQUEST, __module__="google.cloud.datalabeling_v1beta1.proto.data_labeling_service_pb2", __doc__="""Request message for ListExamples. - - Attributes: parent: Required. Example resource parent. @@ -3966,8 +3928,6 @@ DESCRIPTOR=_LISTEXAMPLESRESPONSE, __module__="google.cloud.datalabeling_v1beta1.proto.data_labeling_service_pb2", __doc__="""Results of listing Examples in and annotated dataset. - - Attributes: examples: The list of examples to return. @@ -3986,8 +3946,6 @@ DESCRIPTOR=_CREATEANNOTATIONSPECSETREQUEST, __module__="google.cloud.datalabeling_v1beta1.proto.data_labeling_service_pb2", __doc__="""Request message for CreateAnnotationSpecSet. - - Attributes: parent: Required. AnnotationSpecSet resource parent, format: @@ -4009,8 +3967,6 @@ DESCRIPTOR=_GETANNOTATIONSPECSETREQUEST, __module__="google.cloud.datalabeling_v1beta1.proto.data_labeling_service_pb2", __doc__="""Request message for GetAnnotationSpecSet. - - Attributes: name: Required. AnnotationSpecSet resource name, format: projects/{p @@ -4028,8 +3984,6 @@ DESCRIPTOR=_LISTANNOTATIONSPECSETSREQUEST, __module__="google.cloud.datalabeling_v1beta1.proto.data_labeling_service_pb2", __doc__="""Request message for ListAnnotationSpecSets. - - Attributes: parent: Required. Parent of AnnotationSpecSet resource, format: @@ -4059,8 +4013,6 @@ DESCRIPTOR=_LISTANNOTATIONSPECSETSRESPONSE, __module__="google.cloud.datalabeling_v1beta1.proto.data_labeling_service_pb2", __doc__="""Results of listing annotation spec set under a project. - - Attributes: annotation_spec_sets: The list of annotation spec sets. @@ -4079,8 +4031,6 @@ DESCRIPTOR=_DELETEANNOTATIONSPECSETREQUEST, __module__="google.cloud.datalabeling_v1beta1.proto.data_labeling_service_pb2", __doc__="""Request message for DeleteAnnotationSpecSet. - - Attributes: name: Required. AnnotationSpec resource name, format: ``projects/{pr @@ -4098,8 +4048,6 @@ DESCRIPTOR=_CREATEINSTRUCTIONREQUEST, __module__="google.cloud.datalabeling_v1beta1.proto.data_labeling_service_pb2", __doc__="""Request message for CreateInstruction. - - Attributes: parent: Required. Instruction resource parent, format: @@ -4119,8 +4067,6 @@ DESCRIPTOR=_GETINSTRUCTIONREQUEST, __module__="google.cloud.datalabeling_v1beta1.proto.data_labeling_service_pb2", __doc__="""Request message for GetInstruction. - - Attributes: name: Required. Instruction resource name, format: @@ -4138,8 +4084,6 @@ DESCRIPTOR=_DELETEINSTRUCTIONREQUEST, __module__="google.cloud.datalabeling_v1beta1.proto.data_labeling_service_pb2", __doc__="""Request message for DeleteInstruction. - - Attributes: name: Required. Instruction resource name, format: @@ -4157,8 +4101,6 @@ DESCRIPTOR=_LISTINSTRUCTIONSREQUEST, __module__="google.cloud.datalabeling_v1beta1.proto.data_labeling_service_pb2", __doc__="""Request message for ListInstructions. - - Attributes: parent: Required. Instruction resource parent, format: @@ -4188,8 +4130,6 @@ DESCRIPTOR=_LISTINSTRUCTIONSRESPONSE, __module__="google.cloud.datalabeling_v1beta1.proto.data_labeling_service_pb2", __doc__="""Results of listing instructions under a project. - - Attributes: instructions: The list of Instructions to return. @@ -4208,8 +4148,6 @@ DESCRIPTOR=_GETEVALUATIONREQUEST, __module__="google.cloud.datalabeling_v1beta1.proto.data_labeling_service_pb2", __doc__="""Request message for GetEvaluation. - - Attributes: name: Required. Name of the evaluation. Format: "projects/{project\ @@ -4227,8 +4165,6 @@ DESCRIPTOR=_SEARCHEVALUATIONSREQUEST, __module__="google.cloud.datalabeling_v1beta1.proto.data_labeling_service_pb2", __doc__="""Request message for SearchEvaluation. - - Attributes: parent: Required. Evaluation search parent (project ID). Format: @@ -4284,8 +4220,6 @@ DESCRIPTOR=_SEARCHEVALUATIONSRESPONSE, __module__="google.cloud.datalabeling_v1beta1.proto.data_labeling_service_pb2", __doc__="""Results of searching evaluations. - - Attributes: evaluations: The list of evaluations matching the search. @@ -4304,8 +4238,6 @@ DESCRIPTOR=_SEARCHEXAMPLECOMPARISONSREQUEST, __module__="google.cloud.datalabeling_v1beta1.proto.data_labeling_service_pb2", __doc__="""Request message of SearchExampleComparisons. - - Attributes: parent: Required. Name of the @@ -4339,10 +4271,8 @@ dict( DESCRIPTOR=_SEARCHEXAMPLECOMPARISONSRESPONSE_EXAMPLECOMPARISON, __module__="google.cloud.datalabeling_v1beta1.proto.data_labeling_service_pb2", - __doc__="""Example comparisons comparing ground truth output and - predictions for a specific input. - - + __doc__="""Example comparisons comparing ground truth output and predictions for + a specific input. Attributes: ground_truth_example: The ground truth output for the input. @@ -4355,8 +4285,6 @@ DESCRIPTOR=_SEARCHEXAMPLECOMPARISONSRESPONSE, __module__="google.cloud.datalabeling_v1beta1.proto.data_labeling_service_pb2", __doc__="""Results of searching example comparisons. - - Attributes: example_comparisons: A list of example comparisons matching the search criteria. @@ -4376,8 +4304,6 @@ DESCRIPTOR=_CREATEEVALUATIONJOBREQUEST, __module__="google.cloud.datalabeling_v1beta1.proto.data_labeling_service_pb2", __doc__="""Request message for CreateEvaluationJob. - - Attributes: parent: Required. Evaluation job resource parent. Format: @@ -4397,8 +4323,6 @@ DESCRIPTOR=_UPDATEEVALUATIONJOBREQUEST, __module__="google.cloud.datalabeling_v1beta1.proto.data_labeling_service_pb2", __doc__="""Request message for UpdateEvaluationJob. - - Attributes: evaluation_job: Required. Evaluation job that is going to be updated. @@ -4423,8 +4347,6 @@ DESCRIPTOR=_GETEVALUATIONJOBREQUEST, __module__="google.cloud.datalabeling_v1beta1.proto.data_labeling_service_pb2", __doc__="""Request message for GetEvaluationJob. - - Attributes: name: Required. Name of the evaluation job. Format: @@ -4442,8 +4364,6 @@ DESCRIPTOR=_PAUSEEVALUATIONJOBREQUEST, __module__="google.cloud.datalabeling_v1beta1.proto.data_labeling_service_pb2", __doc__="""Request message for PauseEvaluationJob. - - Attributes: name: Required. Name of the evaluation job that is going to be @@ -4462,8 +4382,6 @@ DESCRIPTOR=_RESUMEEVALUATIONJOBREQUEST, __module__="google.cloud.datalabeling_v1beta1.proto.data_labeling_service_pb2", __doc__="""Request message ResumeEvaluationJob. - - Attributes: name: Required. Name of the evaluation job that is going to be @@ -4482,8 +4400,6 @@ DESCRIPTOR=_DELETEEVALUATIONJOBREQUEST, __module__="google.cloud.datalabeling_v1beta1.proto.data_labeling_service_pb2", __doc__="""Request message DeleteEvaluationJob. - - Attributes: name: Required. Name of the evaluation job that is going to be @@ -4502,8 +4418,6 @@ DESCRIPTOR=_LISTEVALUATIONJOBSREQUEST, __module__="google.cloud.datalabeling_v1beta1.proto.data_labeling_service_pb2", __doc__="""Request message for ListEvaluationJobs. - - Attributes: parent: Required. Evaluation job resource parent. Format: @@ -4541,8 +4455,6 @@ DESCRIPTOR=_LISTEVALUATIONJOBSRESPONSE, __module__="google.cloud.datalabeling_v1beta1.proto.data_labeling_service_pb2", __doc__="""Results for listing evaluation jobs. - - Attributes: evaluation_jobs: The list of evaluation jobs to return. diff --git a/google/cloud/datalabeling_v1beta1/proto/data_payloads_pb2.py b/google/cloud/datalabeling_v1beta1/proto/data_payloads_pb2.py index 36b898b..a6647d1 100644 --- a/google/cloud/datalabeling_v1beta1/proto/data_payloads_pb2.py +++ b/google/cloud/datalabeling_v1beta1/proto/data_payloads_pb2.py @@ -354,8 +354,6 @@ DESCRIPTOR=_IMAGEPAYLOAD, __module__="google.cloud.datalabeling_v1beta1.proto.data_payloads_pb2", __doc__="""Container of information about an image. - - Attributes: mime_type: Image format. @@ -378,8 +376,6 @@ DESCRIPTOR=_TEXTPAYLOAD, __module__="google.cloud.datalabeling_v1beta1.proto.data_payloads_pb2", __doc__="""Container of information about a piece of text. - - Attributes: text_content: Text content. @@ -396,8 +392,6 @@ DESCRIPTOR=_VIDEOTHUMBNAIL, __module__="google.cloud.datalabeling_v1beta1.proto.data_payloads_pb2", __doc__="""Container of information of a video thumbnail. - - Attributes: thumbnail: A byte string of the video frame. @@ -418,8 +412,6 @@ DESCRIPTOR=_VIDEOPAYLOAD, __module__="google.cloud.datalabeling_v1beta1.proto.data_payloads_pb2", __doc__="""Container of information of a video. - - Attributes: mime_type: Video format. diff --git a/google/cloud/datalabeling_v1beta1/proto/dataset_pb2.py b/google/cloud/datalabeling_v1beta1/proto/dataset_pb2.py index 8f798fa..c70ecd8 100644 --- a/google/cloud/datalabeling_v1beta1/proto/dataset_pb2.py +++ b/google/cloud/datalabeling_v1beta1/proto/dataset_pb2.py @@ -1785,11 +1785,9 @@ dict( DESCRIPTOR=_DATASET, __module__="google.cloud.datalabeling_v1beta1.proto.dataset_pb2", - __doc__="""Dataset is the resource to hold your data. You can request - multiple labeling tasks for a dataset while each one will generate an + __doc__="""Dataset is the resource to hold your data. You can request multiple + labeling tasks for a dataset while each one will generate an AnnotatedDataset. - - Attributes: name: Output only. Dataset resource name, format is: @@ -1824,10 +1822,7 @@ dict( DESCRIPTOR=_INPUTCONFIG, __module__="google.cloud.datalabeling_v1beta1.proto.dataset_pb2", - __doc__="""The configuration of input data, including data type, - location, etc. - - + __doc__="""The configuration of input data, including data type, location, etc. Attributes: data_type_metadata: Optional. The metadata associated with each data type. @@ -1867,8 +1862,6 @@ DESCRIPTOR=_TEXTMETADATA, __module__="google.cloud.datalabeling_v1beta1.proto.dataset_pb2", __doc__="""Metadata for the text. - - Attributes: language_code: The language of this text, as a `BCP-47 `__ is the - starting point for using continuous evaluation. - - + __doc__="""Defines an evaluation job that runs periodically to generate + [Evaluations][google.cloud.datalabeling.v1beta1.Evaluation]. `Creating + an evaluation job `__ is the starting point for using continuous evaluation. Attributes: name: Output only. After you create a job, Data Labeling Service @@ -834,10 +831,8 @@ ), DESCRIPTOR=_EVALUATIONJOBCONFIG, __module__="google.cloud.datalabeling_v1beta1.proto.evaluation_job_pb2", - __doc__="""Configures specific details of how a continuous evaluation - job works. Provide this configuration when you create an EvaluationJob. - - + __doc__="""Configures specific details of how a continuous evaluation job works. + Provide this configuration when you create an EvaluationJob. Attributes: human_annotation_request_config: Required. Details for how you want human reviewers to provide @@ -949,10 +944,8 @@ dict( DESCRIPTOR=_EVALUATIONJOBALERTCONFIG, __module__="google.cloud.datalabeling_v1beta1.proto.evaluation_job_pb2", - __doc__="""Provides details for how an evaluation job sends email - alerts based on the results of a run. - - + __doc__="""Provides details for how an evaluation job sends email alerts based on + the results of a run. Attributes: email: Required. An email address to send alerts to. @@ -977,8 +970,6 @@ DESCRIPTOR=_ATTEMPT, __module__="google.cloud.datalabeling_v1beta1.proto.evaluation_job_pb2", __doc__="""Records a failed evaluation job run. - - Attributes: partial_failures: Details of errors that occurred. diff --git a/google/cloud/datalabeling_v1beta1/proto/evaluation_pb2.py b/google/cloud/datalabeling_v1beta1/proto/evaluation_pb2.py index 5c96508..029190d 100644 --- a/google/cloud/datalabeling_v1beta1/proto/evaluation_pb2.py +++ b/google/cloud/datalabeling_v1beta1/proto/evaluation_pb2.py @@ -973,12 +973,10 @@ dict( DESCRIPTOR=_EVALUATION, __module__="google.cloud.datalabeling_v1beta1.proto.evaluation_pb2", - __doc__="""Describes an evaluation between a machine learning model's - predictions and ground truth labels. Created when an + __doc__="""Describes an evaluation between a machine learning model's predictions + and ground truth labels. Created when an [EvaluationJob][google.cloud.datalabeling.v1beta1.EvaluationJob] runs successfully. - - Attributes: name: Output only. Resource name of an evaluation. The name has the @@ -1017,11 +1015,9 @@ dict( DESCRIPTOR=_EVALUATIONCONFIG, __module__="google.cloud.datalabeling_v1beta1.proto.evaluation_pb2", - __doc__="""Configuration details used for calculating evaluation - metrics and creating an + __doc__="""Configuration details used for calculating evaluation metrics and + creating an [Evaluation][google.cloud.datalabeling.v1beta1.Evaluation]. - - Attributes: vertical_option: Vertical specific options for general metrics. @@ -1042,8 +1038,6 @@ DESCRIPTOR=_BOUNDINGBOXEVALUATIONOPTIONS, __module__="google.cloud.datalabeling_v1beta1.proto.evaluation_pb2", __doc__="""Options regarding evaluation between bounding boxes. - - Attributes: iou_threshold: Minimum [intersection-over-union @@ -1080,8 +1074,6 @@ DESCRIPTOR=_CLASSIFICATIONMETRICS, __module__="google.cloud.datalabeling_v1beta1.proto.evaluation_pb2", __doc__="""Metrics calculated for a classification model. - - Attributes: pr_curve: Precision-recall curve based on ground truth labels, predicted @@ -1100,10 +1092,7 @@ dict( DESCRIPTOR=_OBJECTDETECTIONMETRICS, __module__="google.cloud.datalabeling_v1beta1.proto.evaluation_pb2", - __doc__="""Metrics calculated for an image object detection (bounding - box) model. - - + __doc__="""Metrics calculated for an image object detection (bounding box) model. Attributes: pr_curve: Precision-recall curve. @@ -1217,10 +1206,8 @@ dict( DESCRIPTOR=_CONFUSIONMATRIX_ROW, __module__="google.cloud.datalabeling_v1beta1.proto.evaluation_pb2", - __doc__="""A row in the confusion matrix. Each entry in this row has - the same ground truth label. - - + __doc__="""A row in the confusion matrix. Each entry in this row has the same + ground truth label. Attributes: annotation_spec: The annotation spec of the ground truth label for this row. @@ -1233,11 +1220,9 @@ ), DESCRIPTOR=_CONFUSIONMATRIX, __module__="google.cloud.datalabeling_v1beta1.proto.evaluation_pb2", - __doc__="""Confusion matrix of the model running the classification. - Only applicable when the metrics entry aggregates multiple labels. Not - applicable when the entry is for a single label. - - """, + __doc__="""Confusion matrix of the model running the classification. Only + applicable when the metrics entry aggregates multiple labels. Not + applicable when the entry is for a single label.""", # @@protoc_insertion_point(class_scope:google.cloud.datalabeling.v1beta1.ConfusionMatrix) ), ) diff --git a/google/cloud/datalabeling_v1beta1/proto/human_annotation_config_pb2.py b/google/cloud/datalabeling_v1beta1/proto/human_annotation_config_pb2.py index 26b57cc..7311cdb 100644 --- a/google/cloud/datalabeling_v1beta1/proto/human_annotation_config_pb2.py +++ b/google/cloud/datalabeling_v1beta1/proto/human_annotation_config_pb2.py @@ -947,8 +947,6 @@ DESCRIPTOR=_HUMANANNOTATIONCONFIG, __module__="google.cloud.datalabeling_v1beta1.proto.human_annotation_config_pb2", __doc__="""Configuration for how human labeling task should be done. - - Attributes: instruction: Required. Instruction resource name. @@ -998,8 +996,6 @@ DESCRIPTOR=_IMAGECLASSIFICATIONCONFIG, __module__="google.cloud.datalabeling_v1beta1.proto.human_annotation_config_pb2", __doc__="""Config for image classification human labeling task. - - Attributes: annotation_spec_set: Required. Annotation spec set resource name. @@ -1020,10 +1016,7 @@ dict( DESCRIPTOR=_BOUNDINGPOLYCONFIG, __module__="google.cloud.datalabeling_v1beta1.proto.human_annotation_config_pb2", - __doc__="""Config for image bounding poly (and bounding box) human - labeling task. - - + __doc__="""Config for image bounding poly (and bounding box) human labeling task. Attributes: annotation_spec_set: Required. Annotation spec set resource name. @@ -1042,8 +1035,6 @@ DESCRIPTOR=_POLYLINECONFIG, __module__="google.cloud.datalabeling_v1beta1.proto.human_annotation_config_pb2", __doc__="""Config for image polyline human labeling task. - - Attributes: annotation_spec_set: Required. Annotation spec set resource name. @@ -1062,8 +1053,6 @@ DESCRIPTOR=_SEGMENTATIONCONFIG, __module__="google.cloud.datalabeling_v1beta1.proto.human_annotation_config_pb2", __doc__="""Config for image segmentation - - Attributes: annotation_spec_set: Required. Annotation spec set resource name. format: projects/ @@ -1086,10 +1075,7 @@ dict( DESCRIPTOR=_VIDEOCLASSIFICATIONCONFIG_ANNOTATIONSPECSETCONFIG, __module__="google.cloud.datalabeling_v1beta1.proto.human_annotation_config_pb2", - __doc__="""Annotation spec set with the setting of allowing multi - labels or not. - - + __doc__="""Annotation spec set with the setting of allowing multi labels or not. Attributes: annotation_spec_set: Required. Annotation spec set resource name. @@ -1102,12 +1088,10 @@ ), DESCRIPTOR=_VIDEOCLASSIFICATIONCONFIG, __module__="google.cloud.datalabeling_v1beta1.proto.human_annotation_config_pb2", - __doc__="""Config for video classification human labeling task. - Currently two types of video classification are supported: 1. Assign - labels on the entire video. 2. Split the video into multiple video clips - based on camera shot, and assign labels on each video clip. - - + __doc__="""Config for video classification human labeling task. Currently two + types of video classification are supported: 1. Assign labels on the + entire video. 2. Split the video into multiple video clips based on + camera shot, and assign labels on each video clip. Attributes: annotation_spec_set_configs: Required. The list of annotation spec set configs. Since @@ -1131,13 +1115,11 @@ dict( DESCRIPTOR=_OBJECTDETECTIONCONFIG, __module__="google.cloud.datalabeling_v1beta1.proto.human_annotation_config_pb2", - __doc__="""Config for video object detection human labeling task. - Object detection will be conducted on the images extracted from the - video, and those objects will be labeled with bounding boxes. User need - to specify the number of images to be extracted per second as the + __doc__="""Config for video object detection human labeling task. Object + detection will be conducted on the images extracted from the video, + and those objects will be labeled with bounding boxes. User need to + specify the number of images to be extracted per second as the extraction frame rate. - - Attributes: annotation_spec_set: Required. Annotation spec set resource name. @@ -1157,8 +1139,6 @@ DESCRIPTOR=_OBJECTTRACKINGCONFIG, __module__="google.cloud.datalabeling_v1beta1.proto.human_annotation_config_pb2", __doc__="""Config for video object tracking human labeling task. - - Attributes: annotation_spec_set: Required. Annotation spec set resource name. @@ -1175,8 +1155,6 @@ DESCRIPTOR=_EVENTCONFIG, __module__="google.cloud.datalabeling_v1beta1.proto.human_annotation_config_pb2", __doc__="""Config for video event human labeling task. - - Attributes: annotation_spec_sets: Required. The list of annotation spec set resource name. @@ -1195,8 +1173,6 @@ DESCRIPTOR=_TEXTCLASSIFICATIONCONFIG, __module__="google.cloud.datalabeling_v1beta1.proto.human_annotation_config_pb2", __doc__="""Config for text classification human labeling task. - - Attributes: allow_multi_label: Optional. If allow\_multi\_label is true, contributors are @@ -1218,8 +1194,6 @@ DESCRIPTOR=_SENTIMENTCONFIG, __module__="google.cloud.datalabeling_v1beta1.proto.human_annotation_config_pb2", __doc__="""Config for setting up sentiments. - - Attributes: enable_label_sentiment_selection: If set to true, contributors will have the option to select @@ -1238,8 +1212,6 @@ DESCRIPTOR=_TEXTENTITYEXTRACTIONCONFIG, __module__="google.cloud.datalabeling_v1beta1.proto.human_annotation_config_pb2", __doc__="""Config for text entity extraction human labeling task. - - Attributes: annotation_spec_set: Required. Annotation spec set resource name. diff --git a/google/cloud/datalabeling_v1beta1/proto/instruction_pb2.py b/google/cloud/datalabeling_v1beta1/proto/instruction_pb2.py index f6d0e0b..600d80b 100644 --- a/google/cloud/datalabeling_v1beta1/proto/instruction_pb2.py +++ b/google/cloud/datalabeling_v1beta1/proto/instruction_pb2.py @@ -328,10 +328,8 @@ dict( DESCRIPTOR=_INSTRUCTION, __module__="google.cloud.datalabeling_v1beta1.proto.instruction_pb2", - __doc__="""Instruction of how to perform the labeling task for human - operators. Currently only PDF instruction is supported. - - + __doc__="""Instruction of how to perform the labeling task for human operators. + Currently only PDF instruction is supported. Attributes: name: Output only. Instruction resource name, format: @@ -373,10 +371,8 @@ dict( DESCRIPTOR=_CSVINSTRUCTION, __module__="google.cloud.datalabeling_v1beta1.proto.instruction_pb2", - __doc__="""Deprecated: this instruction format is not supported any - more. Instruction from a CSV file. - - + __doc__="""Deprecated: this instruction format is not supported any more. + Instruction from a CSV file. Attributes: gcs_file_uri: CSV file for the instruction. Only gcs path is allowed. @@ -393,8 +389,6 @@ DESCRIPTOR=_PDFINSTRUCTION, __module__="google.cloud.datalabeling_v1beta1.proto.instruction_pb2", __doc__="""Instruction from a PDF file. - - Attributes: gcs_file_uri: PDF file for the instruction. Only gcs path is allowed. diff --git a/google/cloud/datalabeling_v1beta1/proto/operations_pb2.py b/google/cloud/datalabeling_v1beta1/proto/operations_pb2.py index 9c7f6f6..ceb56f1 100644 --- a/google/cloud/datalabeling_v1beta1/proto/operations_pb2.py +++ b/google/cloud/datalabeling_v1beta1/proto/operations_pb2.py @@ -1488,8 +1488,6 @@ DESCRIPTOR=_IMPORTDATAOPERATIONRESPONSE, __module__="google.cloud.datalabeling_v1beta1.proto.operations_pb2", __doc__="""Response used for ImportData longrunning operation. - - Attributes: dataset: Ouptut only. The name of imported dataset. @@ -1510,8 +1508,6 @@ DESCRIPTOR=_EXPORTDATAOPERATIONRESPONSE, __module__="google.cloud.datalabeling_v1beta1.proto.operations_pb2", __doc__="""Response used for ExportDataset longrunning operation. - - Attributes: dataset: Ouptut only. The name of dataset. "projects/*/datasets/*" @@ -1537,8 +1533,6 @@ DESCRIPTOR=_IMPORTDATAOPERATIONMETADATA, __module__="google.cloud.datalabeling_v1beta1.proto.operations_pb2", __doc__="""Metadata of an ImportData operation. - - Attributes: dataset: Output only. The name of imported dataset. @@ -1563,8 +1557,6 @@ DESCRIPTOR=_EXPORTDATAOPERATIONMETADATA, __module__="google.cloud.datalabeling_v1beta1.proto.operations_pb2", __doc__="""Metadata of an ExportData operation. - - Attributes: dataset: Output only. The name of dataset to be exported. @@ -1588,10 +1580,8 @@ dict( DESCRIPTOR=_LABELOPERATIONMETADATA, __module__="google.cloud.datalabeling_v1beta1.proto.operations_pb2", - __doc__="""Metadata of a labeling operation, such as LabelImage or - LabelVideo. Next tag: 20 - - + __doc__="""Metadata of a labeling operation, such as LabelImage or LabelVideo. + Next tag: 20 Attributes: details: Ouptut only. Details of specific label operation. @@ -1640,8 +1630,6 @@ DESCRIPTOR=_LABELIMAGECLASSIFICATIONOPERATIONMETADATA, __module__="google.cloud.datalabeling_v1beta1.proto.operations_pb2", __doc__="""Metadata of a LabelImageClassification operation. - - Attributes: basic_config: Basic human annotation config used in labeling request. @@ -1658,8 +1646,6 @@ DESCRIPTOR=_LABELIMAGEBOUNDINGBOXOPERATIONMETADATA, __module__="google.cloud.datalabeling_v1beta1.proto.operations_pb2", __doc__="""Details of a LabelImageBoundingBox operation metadata. - - Attributes: basic_config: Basic human annotation config used in labeling request. @@ -1675,10 +1661,7 @@ dict( DESCRIPTOR=_LABELIMAGEORIENTEDBOUNDINGBOXOPERATIONMETADATA, __module__="google.cloud.datalabeling_v1beta1.proto.operations_pb2", - __doc__="""Details of a LabelImageOrientedBoundingBox operation - metadata. - - + __doc__="""Details of a LabelImageOrientedBoundingBox operation metadata. Attributes: basic_config: Basic human annotation config. @@ -1695,8 +1678,6 @@ DESCRIPTOR=_LABELIMAGEBOUNDINGPOLYOPERATIONMETADATA, __module__="google.cloud.datalabeling_v1beta1.proto.operations_pb2", __doc__="""Details of LabelImageBoundingPoly operation metadata. - - Attributes: basic_config: Basic human annotation config used in labeling request. @@ -1713,8 +1694,6 @@ DESCRIPTOR=_LABELIMAGEPOLYLINEOPERATIONMETADATA, __module__="google.cloud.datalabeling_v1beta1.proto.operations_pb2", __doc__="""Details of LabelImagePolyline operation metadata. - - Attributes: basic_config: Basic human annotation config used in labeling request. @@ -1731,8 +1710,6 @@ DESCRIPTOR=_LABELIMAGESEGMENTATIONOPERATIONMETADATA, __module__="google.cloud.datalabeling_v1beta1.proto.operations_pb2", __doc__="""Details of a LabelImageSegmentation operation metadata. - - Attributes: basic_config: Basic human annotation config. @@ -1749,8 +1726,6 @@ DESCRIPTOR=_LABELVIDEOCLASSIFICATIONOPERATIONMETADATA, __module__="google.cloud.datalabeling_v1beta1.proto.operations_pb2", __doc__="""Details of a LabelVideoClassification operation metadata. - - Attributes: basic_config: Basic human annotation config used in labeling request. @@ -1767,8 +1742,6 @@ DESCRIPTOR=_LABELVIDEOOBJECTDETECTIONOPERATIONMETADATA, __module__="google.cloud.datalabeling_v1beta1.proto.operations_pb2", __doc__="""Details of a LabelVideoObjectDetection operation metadata. - - Attributes: basic_config: Basic human annotation config used in labeling request. @@ -1785,8 +1758,6 @@ DESCRIPTOR=_LABELVIDEOOBJECTTRACKINGOPERATIONMETADATA, __module__="google.cloud.datalabeling_v1beta1.proto.operations_pb2", __doc__="""Details of a LabelVideoObjectTracking operation metadata. - - Attributes: basic_config: Basic human annotation config used in labeling request. @@ -1803,8 +1774,6 @@ DESCRIPTOR=_LABELVIDEOEVENTOPERATIONMETADATA, __module__="google.cloud.datalabeling_v1beta1.proto.operations_pb2", __doc__="""Details of a LabelVideoEvent operation metadata. - - Attributes: basic_config: Basic human annotation config used in labeling request. @@ -1821,8 +1790,6 @@ DESCRIPTOR=_LABELTEXTCLASSIFICATIONOPERATIONMETADATA, __module__="google.cloud.datalabeling_v1beta1.proto.operations_pb2", __doc__="""Details of a LabelTextClassification operation metadata. - - Attributes: basic_config: Basic human annotation config used in labeling request. @@ -1839,8 +1806,6 @@ DESCRIPTOR=_LABELTEXTENTITYEXTRACTIONOPERATIONMETADATA, __module__="google.cloud.datalabeling_v1beta1.proto.operations_pb2", __doc__="""Details of a LabelTextEntityExtraction operation metadata. - - Attributes: basic_config: Basic human annotation config used in labeling request. @@ -1857,8 +1822,6 @@ DESCRIPTOR=_CREATEINSTRUCTIONMETADATA, __module__="google.cloud.datalabeling_v1beta1.proto.operations_pb2", __doc__="""Metadata of a CreateInstruction operation. - - Attributes: instruction: The name of the created Instruction. diff --git a/noxfile.py b/noxfile.py index 6db1f5d..915f9a6 100644 --- a/noxfile.py +++ b/noxfile.py @@ -111,7 +111,7 @@ def system(session): # Install all test dependencies, then install this package into the # virtualenv's dist-packages. session.install("mock", "pytest") - + session.install("git+https://github.com/googleapis/python-test-utils") session.install("-e", ".") # Run py.test against the system tests. @@ -139,7 +139,7 @@ def docs(session): """Build the docs for this library.""" session.install("-e", ".") - session.install("sphinx", "alabaster", "recommonmark") + session.install("sphinx<3.0.0", "alabaster", "recommonmark") shutil.rmtree(os.path.join("docs", "_build"), ignore_errors=True) session.run( diff --git a/setup.cfg b/setup.cfg index 3bd5555..c3a2b39 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,3 +1,19 @@ +# -*- coding: utf-8 -*- +# +# Copyright 2020 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # Generated by synthtool. DO NOT EDIT! [bdist_wheel] universal = 1 diff --git a/synth.metadata b/synth.metadata index 0c54b1c..7717317 100644 --- a/synth.metadata +++ b/synth.metadata @@ -1,27 +1,32 @@ { - "updateTime": "2020-03-04T13:16:40.645804Z", "sources": [ { "generator": { "name": "artman", - "version": "1.0.0", - "dockerImage": "googleapis/artman@sha256:f37f2464788cb551299209b4fcab4eb323533154488c2ef9ec0c75d7c2b4b482" + "version": "2.0.0", + "dockerImage": "googleapis/artman@sha256:b3b47805231a305d0f40c4bf069df20f6a2635574e6d4259fac651d3f9f6e098" + } + }, + { + "git": { + "name": ".", + "remote": "https://github.com/googleapis/python-datalabeling.git", + "sha": "acc4fceba0d9144ba539f66ed04df21238686b35" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "541b1ded4abadcc38e8178680b0677f65594ea6f", - "internalRef": "298686266", - "log": "541b1ded4abadcc38e8178680b0677f65594ea6f\nUpdate cloud asset api v1p4beta1.\n\nPiperOrigin-RevId: 298686266\n\nc0d171acecb4f5b0bfd2c4ca34fc54716574e300\n Updated to include the Notification v1 API.\n\nPiperOrigin-RevId: 298652775\n\n2346a9186c0bff2c9cc439f2459d558068637e05\nAdd Service Directory v1beta1 protos and configs\n\nPiperOrigin-RevId: 298625638\n\na78ed801b82a5c6d9c5368e24b1412212e541bb7\nPublishing v3 protos and configs.\n\nPiperOrigin-RevId: 298607357\n\n" + "sha": "42ee97c1b93a0e3759bbba3013da309f670a90ab", + "internalRef": "307114445" } }, { - "template": { - "name": "python_library", - "origin": "synthtool.gcp", - "version": "2020.2.4" + "git": { + "name": "synthtool", + "remote": "https://github.com/googleapis/synthtool.git", + "sha": "f5e4c17dc78a966dbf29961dd01f9bbd63e20a04" } } ],