GeezerVison is showing github.com — feat: initial generation of enhanced types (#102) · conradlee/python-aiplatform@5ddbf16
File treeExpand file treeCollapse file tree Open diff view settings aiplatform/v1beta1/schema
Some content is hiddenLarge Commits have some content hidden by default. Use the searchbox below for content that may be hidden. Dismiss bannerExpand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: docs/conf.py +3-3Lines changed: 3 additions & 3 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 345 | 345 |
| 346 | 346 | # Example configuration for intersphinx: refer to the Python standard library. | 347 | 347 | intersphinx_mapping = { | 348 | | - "python": ("http://python.readthedocs.org/en/latest/", None), | 349 | | - "google-auth": ("https://google-auth.readthedocs.io/en/stable", None), | | 348 | + "python": ("https://python.readthedocs.org/en/latest/", None), | | 349 | + "google-auth": ("https://googleapis.dev/python/google-auth/latest/", None), | 350 | 350 | "google.api_core": ("https://googleapis.dev/python/google-api-core/latest/", None,), | 351 | | - "grpc": ("https://grpc.io/grpc/python/", None), | | 351 | + "grpc": ("https://grpc.github.io/grpc/python/", None), | 352 | 352 | "proto-plus": ("https://proto-plus-python.readthedocs.io/en/latest/", None), | 353 | 353 | } | 354 | 354 |
| |
Collapse file Copy file name to clipboard +6Lines changed: 6 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
| | 1 | +Types for Google Cloud Aiplatform V1beta1 Schema Trainingjob Definition v1beta1 API | | 2 | +=================================================================================== | | 3 | + | | 4 | +.. automodule:: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition_v1beta1.types | | 5 | + :members: | | 6 | + :show-inheritance: |
Collapse file Copy file name to clipboard +6Lines changed: 6 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
| | 1 | +Types for Google Cloud Aiplatform V1beta1 Schema Predict Instance v1beta1 API | | 2 | +============================================================================= | | 3 | + | | 4 | +.. automodule:: google.cloud.aiplatform.v1beta1.schema.predict.instance_v1beta1.types | | 5 | + :members: | | 6 | + :show-inheritance: |
Collapse file Copy file name to clipboard +6Lines changed: 6 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
| | 1 | +Types for Google Cloud Aiplatform V1beta1 Schema Predict Params v1beta1 API | | 2 | +=========================================================================== | | 3 | + | | 4 | +.. automodule:: google.cloud.aiplatform.v1beta1.schema.predict.params_v1beta1.types | | 5 | + :members: | | 6 | + :show-inheritance: |
Collapse file Copy file name to clipboard +6Lines changed: 6 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
| | 1 | +Types for Google Cloud Aiplatform V1beta1 Schema Predict Prediction v1beta1 API | | 2 | +=============================================================================== | | 3 | + | | 4 | +.. automodule:: google.cloud.aiplatform.v1beta1.schema.predict.prediction_v1beta1.types | | 5 | + :members: | | 6 | + :show-inheritance: |
Collapse file Copy file name to clipboard +56Lines changed: 56 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| | 1 | +# -*- coding: utf-8 -*- | | 2 | + | | 3 | +# Copyright 2020 Google LLC | | 4 | +# | | 5 | +# Licensed under the Apache License, Version 2.0 (the "License"); | | 6 | +# you may not use this file except in compliance with the License. | | 7 | +# You may obtain a copy of the License at | | 8 | +# | | 9 | +# http://www.apache.org/licenses/LICENSE-2.0 | | 10 | +# | | 11 | +# Unless required by applicable law or agreed to in writing, software | | 12 | +# distributed under the License is distributed on an "AS IS" BASIS, | | 13 | +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | | 14 | +# See the License for the specific language governing permissions and | | 15 | +# limitations under the License. | | 16 | +# | | 17 | + | | 18 | +from google.cloud.aiplatform.v1beta1.schema.predict.instance_v1beta1.types.image_classification import ( | | 19 | + ImageClassificationPredictionInstance, | | 20 | +) | | 21 | +from google.cloud.aiplatform.v1beta1.schema.predict.instance_v1beta1.types.image_object_detection import ( | | 22 | + ImageObjectDetectionPredictionInstance, | | 23 | +) | | 24 | +from google.cloud.aiplatform.v1beta1.schema.predict.instance_v1beta1.types.image_segmentation import ( | | 25 | + ImageSegmentationPredictionInstance, | | 26 | +) | | 27 | +from google.cloud.aiplatform.v1beta1.schema.predict.instance_v1beta1.types.text_classification import ( | | 28 | + TextClassificationPredictionInstance, | | 29 | +) | | 30 | +from google.cloud.aiplatform.v1beta1.schema.predict.instance_v1beta1.types.text_extraction import ( | | 31 | + TextExtractionPredictionInstance, | | 32 | +) | | 33 | +from google.cloud.aiplatform.v1beta1.schema.predict.instance_v1beta1.types.text_sentiment import ( | | 34 | + TextSentimentPredictionInstance, | | 35 | +) | | 36 | +from google.cloud.aiplatform.v1beta1.schema.predict.instance_v1beta1.types.video_action_recognition import ( | | 37 | + VideoActionRecognitionPredictionInstance, | | 38 | +) | | 39 | +from google.cloud.aiplatform.v1beta1.schema.predict.instance_v1beta1.types.video_classification import ( | | 40 | + VideoClassificationPredictionInstance, | | 41 | +) | | 42 | +from google.cloud.aiplatform.v1beta1.schema.predict.instance_v1beta1.types.video_object_tracking import ( | | 43 | + VideoObjectTrackingPredictionInstance, | | 44 | +) | | 45 | + | | 46 | +__all__ = ( | | 47 | + "ImageClassificationPredictionInstance", | | 48 | + "ImageObjectDetectionPredictionInstance", | | 49 | + "ImageSegmentationPredictionInstance", | | 50 | + "TextClassificationPredictionInstance", | | 51 | + "TextExtractionPredictionInstance", | | 52 | + "TextSentimentPredictionInstance", | | 53 | + "VideoActionRecognitionPredictionInstance", | | 54 | + "VideoClassificationPredictionInstance", | | 55 | + "VideoObjectTrackingPredictionInstance", | | 56 | +) |
Collapse file Copy file name to clipboard +2Lines changed: 2 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| | 1 | +# Marker file for PEP 561. | | 2 | +# The google-cloud-aiplatform-v1beta1-schema-predict-instance package uses inline types. |
Collapse file Copy file name to clipboard +39Lines changed: 39 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| | 1 | +# -*- coding: utf-8 -*- | | 2 | + | | 3 | +# Copyright 2020 Google LLC | | 4 | +# | | 5 | +# Licensed under the Apache License, Version 2.0 (the "License"); | | 6 | +# you may not use this file except in compliance with the License. | | 7 | +# You may obtain a copy of the License at | | 8 | +# | | 9 | +# http://www.apache.org/licenses/LICENSE-2.0 | | 10 | +# | | 11 | +# Unless required by applicable law or agreed to in writing, software | | 12 | +# distributed under the License is distributed on an "AS IS" BASIS, | | 13 | +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | | 14 | +# See the License for the specific language governing permissions and | | 15 | +# limitations under the License. | | 16 | +# | | 17 | + | | 18 | +from .types.image_classification import ImageClassificationPredictionInstance | | 19 | +from .types.image_object_detection import ImageObjectDetectionPredictionInstance | | 20 | +from .types.image_segmentation import ImageSegmentationPredictionInstance | | 21 | +from .types.text_classification import TextClassificationPredictionInstance | | 22 | +from .types.text_extraction import TextExtractionPredictionInstance | | 23 | +from .types.text_sentiment import TextSentimentPredictionInstance | | 24 | +from .types.video_action_recognition import VideoActionRecognitionPredictionInstance | | 25 | +from .types.video_classification import VideoClassificationPredictionInstance | | 26 | +from .types.video_object_tracking import VideoObjectTrackingPredictionInstance | | 27 | + | | 28 | + | | 29 | +__all__ = ( | | 30 | + "ImageObjectDetectionPredictionInstance", | | 31 | + "ImageSegmentationPredictionInstance", | | 32 | + "TextClassificationPredictionInstance", | | 33 | + "TextExtractionPredictionInstance", | | 34 | + "TextSentimentPredictionInstance", | | 35 | + "VideoActionRecognitionPredictionInstance", | | 36 | + "VideoClassificationPredictionInstance", | | 37 | + "VideoObjectTrackingPredictionInstance", | | 38 | + "ImageClassificationPredictionInstance", | | 39 | +) |
Collapse file Copy file name to clipboard +2Lines changed: 2 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| | 1 | +# Marker file for PEP 561. | | 2 | +# The google-cloud-aiplatform-v1beta1-schema-predict-instance package uses inline types. |
Collapse file Copy file name to clipboard +39Lines changed: 39 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| | 1 | +# -*- coding: utf-8 -*- | | 2 | + | | 3 | +# Copyright 2020 Google LLC | | 4 | +# | | 5 | +# Licensed under the Apache License, Version 2.0 (the "License"); | | 6 | +# you may not use this file except in compliance with the License. | | 7 | +# You may obtain a copy of the License at | | 8 | +# | | 9 | +# http://www.apache.org/licenses/LICENSE-2.0 | | 10 | +# | | 11 | +# Unless required by applicable law or agreed to in writing, software | | 12 | +# distributed under the License is distributed on an "AS IS" BASIS, | | 13 | +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | | 14 | +# See the License for the specific language governing permissions and | | 15 | +# limitations under the License. | | 16 | +# | | 17 | + | | 18 | +from .image_classification import ImageClassificationPredictionInstance | | 19 | +from .image_object_detection import ImageObjectDetectionPredictionInstance | | 20 | +from .image_segmentation import ImageSegmentationPredictionInstance | | 21 | +from .text_classification import TextClassificationPredictionInstance | | 22 | +from .text_extraction import TextExtractionPredictionInstance | | 23 | +from .text_sentiment import TextSentimentPredictionInstance | | 24 | +from .video_action_recognition import VideoActionRecognitionPredictionInstance | | 25 | +from .video_classification import VideoClassificationPredictionInstance | | 26 | +from .video_object_tracking import VideoObjectTrackingPredictionInstance | | 27 | + | | 28 | + | | 29 | +__all__ = ( | | 30 | + "ImageClassificationPredictionInstance", | | 31 | + "ImageObjectDetectionPredictionInstance", | | 32 | + "ImageSegmentationPredictionInstance", | | 33 | + "TextClassificationPredictionInstance", | | 34 | + "TextExtractionPredictionInstance", | | 35 | + "TextSentimentPredictionInstance", | | 36 | + "VideoActionRecognitionPredictionInstance", | | 37 | + "VideoClassificationPredictionInstance", | | 38 | + "VideoObjectTrackingPredictionInstance", | | 39 | +) |
|