Skip to content

Commit

Permalink
chore: run the post processor
Browse files Browse the repository at this point in the history
  • Loading branch information
parthea committed May 15, 2021
1 parent b74e314 commit 8ac0912
Show file tree
Hide file tree
Showing 900 changed files with 12,097 additions and 156,967 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Expand Up @@ -26,6 +26,6 @@ repos:
hooks:
- id: black
- repo: https://gitlab.com/pycqa/flake8
rev: 3.9.2
rev: 3.9.1
hooks:
- id: flake8
1 change: 1 addition & 0 deletions docs/aiplatform_v1/dataset_service.rst
Expand Up @@ -5,6 +5,7 @@ DatasetService
:members:
:inherited-members:


.. automodule:: google.cloud.aiplatform_v1.services.dataset_service.pagers
:members:
:inherited-members:
1 change: 1 addition & 0 deletions docs/aiplatform_v1/endpoint_service.rst
Expand Up @@ -5,6 +5,7 @@ EndpointService
:members:
:inherited-members:


.. automodule:: google.cloud.aiplatform_v1.services.endpoint_service.pagers
:members:
:inherited-members:
1 change: 1 addition & 0 deletions docs/aiplatform_v1/job_service.rst
Expand Up @@ -5,6 +5,7 @@ JobService
:members:
:inherited-members:


.. automodule:: google.cloud.aiplatform_v1.services.job_service.pagers
:members:
:inherited-members:
1 change: 1 addition & 0 deletions docs/aiplatform_v1/migration_service.rst
Expand Up @@ -5,6 +5,7 @@ MigrationService
:members:
:inherited-members:


.. automodule:: google.cloud.aiplatform_v1.services.migration_service.pagers
:members:
:inherited-members:
1 change: 1 addition & 0 deletions docs/aiplatform_v1/model_service.rst
Expand Up @@ -5,6 +5,7 @@ ModelService
:members:
:inherited-members:


.. automodule:: google.cloud.aiplatform_v1.services.model_service.pagers
:members:
:inherited-members:
1 change: 1 addition & 0 deletions docs/aiplatform_v1/pipeline_service.rst
Expand Up @@ -5,6 +5,7 @@ PipelineService
:members:
:inherited-members:


.. automodule:: google.cloud.aiplatform_v1.services.pipeline_service.pagers
:members:
:inherited-members:
1 change: 1 addition & 0 deletions docs/aiplatform_v1/specialist_pool_service.rst
Expand Up @@ -5,6 +5,7 @@ SpecialistPoolService
:members:
:inherited-members:


.. automodule:: google.cloud.aiplatform_v1.services.specialist_pool_service.pagers
:members:
:inherited-members:
1 change: 1 addition & 0 deletions docs/aiplatform_v1beta1/dataset_service.rst
Expand Up @@ -5,6 +5,7 @@ DatasetService
:members:
:inherited-members:


.. automodule:: google.cloud.aiplatform_v1beta1.services.dataset_service.pagers
:members:
:inherited-members:
1 change: 1 addition & 0 deletions docs/aiplatform_v1beta1/endpoint_service.rst
Expand Up @@ -5,6 +5,7 @@ EndpointService
:members:
:inherited-members:


.. automodule:: google.cloud.aiplatform_v1beta1.services.endpoint_service.pagers
:members:
:inherited-members:
1 change: 1 addition & 0 deletions docs/aiplatform_v1beta1/job_service.rst
Expand Up @@ -5,6 +5,7 @@ JobService
:members:
:inherited-members:


.. automodule:: google.cloud.aiplatform_v1beta1.services.job_service.pagers
:members:
:inherited-members:
1 change: 1 addition & 0 deletions docs/aiplatform_v1beta1/migration_service.rst
Expand Up @@ -5,6 +5,7 @@ MigrationService
:members:
:inherited-members:


.. automodule:: google.cloud.aiplatform_v1beta1.services.migration_service.pagers
:members:
:inherited-members:
1 change: 1 addition & 0 deletions docs/aiplatform_v1beta1/model_service.rst
Expand Up @@ -5,6 +5,7 @@ ModelService
:members:
:inherited-members:


.. automodule:: google.cloud.aiplatform_v1beta1.services.model_service.pagers
:members:
:inherited-members:
1 change: 1 addition & 0 deletions docs/aiplatform_v1beta1/pipeline_service.rst
Expand Up @@ -5,6 +5,7 @@ PipelineService
:members:
:inherited-members:


.. automodule:: google.cloud.aiplatform_v1beta1.services.pipeline_service.pagers
:members:
:inherited-members:
7 changes: 0 additions & 7 deletions docs/aiplatform_v1beta1/services.rst
Expand Up @@ -5,16 +5,9 @@ Services for Google Cloud Aiplatform v1beta1 API

dataset_service
endpoint_service
featurestore_online_serving_service
featurestore_service
index_endpoint_service
index_service
job_service
metadata_service
migration_service
model_service
pipeline_service
prediction_service
specialist_pool_service
tensorboard_service
vizier_service
1 change: 1 addition & 0 deletions docs/aiplatform_v1beta1/specialist_pool_service.rst
Expand Up @@ -5,6 +5,7 @@ SpecialistPoolService
:members:
:inherited-members:


.. automodule:: google.cloud.aiplatform_v1beta1.services.specialist_pool_service.pagers
:members:
:inherited-members:
@@ -1,4 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -14,7 +15,6 @@
# limitations under the License.
#


from google.cloud.aiplatform.v1.schema.predict.instance_v1.types.image_classification import (
ImageClassificationPredictionInstance,
)
Expand Down
@@ -1,4 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -14,7 +15,6 @@
# limitations under the License.
#


from .types.image_classification import ImageClassificationPredictionInstance
from .types.image_object_detection import ImageObjectDetectionPredictionInstance
from .types.image_segmentation import ImageSegmentationPredictionInstance
Expand All @@ -25,8 +25,8 @@
from .types.video_classification import VideoClassificationPredictionInstance
from .types.video_object_tracking import VideoObjectTrackingPredictionInstance


__all__ = (
"ImageClassificationPredictionInstance",
"ImageObjectDetectionPredictionInstance",
"ImageSegmentationPredictionInstance",
"TextClassificationPredictionInstance",
Expand All @@ -35,4 +35,5 @@
"VideoActionRecognitionPredictionInstance",
"VideoClassificationPredictionInstance",
"VideoObjectTrackingPredictionInstance",
"ImageClassificationPredictionInstance",
)
@@ -1,4 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -13,6 +14,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#

from .image_classification import ImageClassificationPredictionInstance
from .image_object_detection import ImageObjectDetectionPredictionInstance
from .image_segmentation import ImageSegmentationPredictionInstance
Expand Down
@@ -1,4 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -13,6 +14,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#

import proto # type: ignore


Expand All @@ -24,6 +26,7 @@

class ImageClassificationPredictionInstance(proto.Message):
r"""Prediction input format for Image Classification.
Attributes:
content (str):
The image bytes or GCS URI to make the
Expand All @@ -40,8 +43,9 @@ class ImageClassificationPredictionInstance(proto.Message):
- image/vnd.microsoft.icon
"""

content = proto.Field(proto.STRING, number=1,)
mime_type = proto.Field(proto.STRING, number=2,)
content = proto.Field(proto.STRING, number=1)

mime_type = proto.Field(proto.STRING, number=2)


__all__ = tuple(sorted(__protobuf__.manifest))
@@ -1,4 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -13,6 +14,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#

import proto # type: ignore


Expand All @@ -24,6 +26,7 @@

class ImageObjectDetectionPredictionInstance(proto.Message):
r"""Prediction input format for Image Object Detection.
Attributes:
content (str):
The image bytes or GCS URI to make the
Expand All @@ -40,8 +43,9 @@ class ImageObjectDetectionPredictionInstance(proto.Message):
- image/vnd.microsoft.icon
"""

content = proto.Field(proto.STRING, number=1,)
mime_type = proto.Field(proto.STRING, number=2,)
content = proto.Field(proto.STRING, number=1)

mime_type = proto.Field(proto.STRING, number=2)


__all__ = tuple(sorted(__protobuf__.manifest))
@@ -1,4 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -13,6 +14,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#

import proto # type: ignore


Expand All @@ -24,6 +26,7 @@

class ImageSegmentationPredictionInstance(proto.Message):
r"""Prediction input format for Image Segmentation.
Attributes:
content (str):
The image bytes to make the predictions on.
Expand All @@ -34,8 +37,9 @@ class ImageSegmentationPredictionInstance(proto.Message):
- image/png
"""

content = proto.Field(proto.STRING, number=1,)
mime_type = proto.Field(proto.STRING, number=2,)
content = proto.Field(proto.STRING, number=1)

mime_type = proto.Field(proto.STRING, number=2)


__all__ = tuple(sorted(__protobuf__.manifest))
@@ -1,4 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -13,6 +14,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#

import proto # type: ignore


Expand All @@ -24,6 +26,7 @@

class TextClassificationPredictionInstance(proto.Message):
r"""Prediction input format for Text Classification.
Attributes:
content (str):
The text snippet to make the predictions on.
Expand All @@ -33,8 +36,9 @@ class TextClassificationPredictionInstance(proto.Message):
- text/plain
"""

content = proto.Field(proto.STRING, number=1,)
mime_type = proto.Field(proto.STRING, number=2,)
content = proto.Field(proto.STRING, number=1)

mime_type = proto.Field(proto.STRING, number=2)


__all__ = tuple(sorted(__protobuf__.manifest))
@@ -1,4 +1,5 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -13,6 +14,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#

import proto # type: ignore


Expand All @@ -24,6 +26,7 @@

class TextExtractionPredictionInstance(proto.Message):
r"""Prediction input format for Text Extraction.
Attributes:
content (str):
The text snippet to make the predictions on.
Expand All @@ -42,9 +45,11 @@ class TextExtractionPredictionInstance(proto.Message):
unique.
"""

content = proto.Field(proto.STRING, number=1,)
mime_type = proto.Field(proto.STRING, number=2,)
key = proto.Field(proto.STRING, number=3,)
content = proto.Field(proto.STRING, number=1)

mime_type = proto.Field(proto.STRING, number=2)

key = proto.Field(proto.STRING, number=3)


__all__ = tuple(sorted(__protobuf__.manifest))

0 comments on commit 8ac0912

Please sign in to comment.