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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CHANGE ME] Re-generated to pick up changes from self. #445

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
branch = True

[report]
fail_under = 100
show_missing = True
omit =
google/cloud/aiplatform/v1/schema/trainingjob/definition/__init__.py
Expand Down
1 change: 1 addition & 0 deletions docs/aiplatform_v1/dataset_service.rst
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ SpecialistPoolService
:members:
:inherited-members:


.. automodule:: google.cloud.aiplatform_v1beta1.services.specialist_pool_service.pagers
:members:
:inherited-members:
1 change: 1 addition & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,7 @@
"google.api_core": ("https://googleapis.dev/python/google-api-core/latest/", None,),
"grpc": ("https://grpc.github.io/grpc/python/", None),
"proto-plus": ("https://proto-plus-python.readthedocs.io/en/latest/", None),
"protobuf": ("https://googleapis.dev/python/protobuf/latest/", None),
}


Expand Down
4 changes: 2 additions & 2 deletions docs/multiprocessing.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.. note::

Because this client uses :mod:`grpcio` library, it is safe to
Because this client uses :mod:`grpc` library, it is safe to
share instances across threads. In multiprocessing scenarios, the best
practice is to create client instances *after* the invocation of
:func:`os.fork` by :class:`multiprocessing.Pool` or
:func:`os.fork` by :class:`multiprocessing.pool.Pool` or
:class:`multiprocessing.Process`.
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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",
)
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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))
Original file line number Diff line number Diff line change
@@ -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))
Original file line number Diff line number Diff line change
@@ -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))
Original file line number Diff line number Diff line change
@@ -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))
Original file line number Diff line number Diff line change
@@ -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))