GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat: Client libraries for the Dataform API (#1221) · googleapis/python-aiplatform@b6bf6dc

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • docs
    • definition_v1beta1
      • types.rst
    • definition_v1
      • types.rst
    • instance_v1beta1
      • types.rst
    • instance_v1
      • types.rst
    • params_v1beta1
      • types.rst
    • params_v1
      • types.rst
    • prediction_v1beta1
      • types.rst
    • prediction_v1
      • types.rst
  • google/cloud
    • aiplatform_v1beta1
      • __init__.py
      • gapic_metadata.json
      • services/model_service
        • async_client.py
        • client.py
        • transports
          • base.py
          • grpc.py
          • grpc_asyncio.py
      • types
        • __init__.py
        • batch_prediction_job.py
        • completion_stats.py
        • endpoint.py
        • explanation.py
        • explanation_metadata.py
        • featurestore_online_service.py
        • manual_batch_tuning_parameters.py
        • model_evaluation.py
        • model_monitoring.py
        • model_service.py
        • pipeline_failure_policy.py
        • pipeline_job.py
        • pipeline_service.py
    • aiplatform_v1
      • __init__.py
      • services/migration_service
        • client.py
      • types
        • __init__.py
        • endpoint.py
        • explanation_metadata.py
        • featurestore.py
        • featurestore_online_service.py
        • manual_batch_tuning_parameters.py
        • model_evaluation.py
        • model_monitoring.py
        • pipeline_failure_policy.py
        • pipeline_job.py
        • pipeline_service.py
  • samples/generated_samples
    • aiplatform_v1beta1_generated_model_service_update_explanation_dataset_async.py
    • aiplatform_v1beta1_generated_model_service_update_explanation_dataset_sync.py
    • snippet_metadata_aiplatform_v1beta1.json
  • tests/unit/gapic
    • aiplatform_v1beta1
      • test_dataset_service.py
      • test_endpoint_service.py
      • test_featurestore_online_serving_service.py
      • test_featurestore_service.py
      • test_index_endpoint_service.py
      • test_index_service.py
      • test_job_service.py
      • test_metadata_service.py
      • test_migration_service.py
      • test_model_service.py
      • test_pipeline_service.py
      • test_prediction_service.py
      • test_specialist_pool_service.py
      • test_tensorboard_service.py
      • test_vizier_service.py
    • aiplatform_v1
      • test_dataset_service.py
      • test_endpoint_service.py
      • test_featurestore_online_serving_service.py
      • test_featurestore_service.py
      • test_index_endpoint_service.py
      • test_index_service.py
      • test_job_service.py
      • test_metadata_service.py
      • test_migration_service.py
      • test_model_service.py
      • test_pipeline_service.py
      • test_prediction_service.py
      • test_specialist_pool_service.py
      • test_tensorboard_service.py
      • test_vizier_service.py

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎docs/definition_v1/types.rst‎

Copy file name to clipboard
+7Lines changed: 7 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Types for Google Cloud Aiplatform V1 Schema Trainingjob Definition v1 API
2+
=========================================================================
3+
4+
.. automodule:: google.cloud.aiplatform.v1.schema.trainingjob.definition_v1.types
5+
:members:
6+
:undoc-members:
7+
:show-inheritance:
Collapse file

‎docs/definition_v1beta1/types.rst‎

Copy file name to clipboard
+7Lines changed: 7 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
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+
:undoc-members:
7+
:show-inheritance:
Collapse file

‎docs/instance_v1/types.rst‎

Copy file name to clipboard
+7Lines changed: 7 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Types for Google Cloud Aiplatform V1 Schema Predict Instance v1 API
2+
===================================================================
3+
4+
.. automodule:: google.cloud.aiplatform.v1.schema.predict.instance_v1.types
5+
:members:
6+
:undoc-members:
7+
:show-inheritance:
Collapse file

‎docs/instance_v1beta1/types.rst‎

Copy file name to clipboard
+7Lines changed: 7 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
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+
:undoc-members:
7+
:show-inheritance:
Collapse file

‎docs/params_v1/types.rst‎

Copy file name to clipboard
+7Lines changed: 7 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Types for Google Cloud Aiplatform V1 Schema Predict Params v1 API
2+
=================================================================
3+
4+
.. automodule:: google.cloud.aiplatform.v1.schema.predict.params_v1.types
5+
:members:
6+
:undoc-members:
7+
:show-inheritance:
Collapse file

‎docs/params_v1beta1/types.rst‎

Copy file name to clipboard
+7Lines changed: 7 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
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+
:undoc-members:
7+
:show-inheritance:
Collapse file

‎docs/prediction_v1/types.rst‎

Copy file name to clipboard
+7Lines changed: 7 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Types for Google Cloud Aiplatform V1 Schema Predict Prediction v1 API
2+
=====================================================================
3+
4+
.. automodule:: google.cloud.aiplatform.v1.schema.predict.prediction_v1.types
5+
:members:
6+
:undoc-members:
7+
:show-inheritance:
Collapse file

‎docs/prediction_v1beta1/types.rst‎

Copy file name to clipboard
+7Lines changed: 7 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
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+
:undoc-members:
7+
:show-inheritance:
Collapse file

‎google/cloud/aiplatform_v1/__init__.py‎

Copy file name to clipboardExpand all lines: google/cloud/aiplatform_v1/__init__.py
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,10 +362,12 @@
362362
from .types.model_service import UploadModelResponse
363363
from .types.operation import DeleteOperationMetadata
364364
from .types.operation import GenericOperationMetadata
365+
from .types.pipeline_failure_policy import PipelineFailurePolicy
365366
from .types.pipeline_job import PipelineJob
366367
from .types.pipeline_job import PipelineJobDetail
367368
from .types.pipeline_job import PipelineTaskDetail
368369
from .types.pipeline_job import PipelineTaskExecutorDetail
370+
from .types.pipeline_job import PipelineTemplateMetadata
369371
from .types.pipeline_service import CancelPipelineJobRequest
370372
from .types.pipeline_service import CancelTrainingPipelineRequest
371373
from .types.pipeline_service import CreatePipelineJobRequest
@@ -829,12 +831,14 @@
829831
"NearestNeighborSearchOperationMetadata",
830832
"NfsMount",
831833
"PauseModelDeploymentMonitoringJobRequest",
834+
"PipelineFailurePolicy",
832835
"PipelineJob",
833836
"PipelineJobDetail",
834837
"PipelineServiceClient",
835838
"PipelineState",
836839
"PipelineTaskDetail",
837840
"PipelineTaskExecutorDetail",
841+
"PipelineTemplateMetadata",
838842
"Port",
839843
"PredefinedSplit",
840844
"PredictRequest",
Collapse file

‎google/cloud/aiplatform_v1/services/migration_service/client.py‎

Copy file name to clipboardExpand all lines: google/cloud/aiplatform_v1/services/migration_service/client.py
+9-9Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -192,40 +192,40 @@ def parse_annotated_dataset_path(path: str) -> Dict[str, str]:
192192
@staticmethod
193193
def dataset_path(
194194
project: str,
195+
location: str,
195196
dataset: str,
196197
) -> str:
197198
"""Returns a fully-qualified dataset string."""
198-
return "projects/{project}/datasets/{dataset}".format(
199+
return "projects/{project}/locations/{location}/datasets/{dataset}".format(
199200
project=project,
201+
location=location,
200202
dataset=dataset,
201203
)
202204

203205
@staticmethod
204206
def parse_dataset_path(path: str) -> Dict[str, str]:
205207
"""Parses a dataset path into its component segments."""
206-
m = re.match(r"^projects/(?P<project>.+?)/datasets/(?P<dataset>.+?)$", path)
208+
m = re.match(
209+
r"^projects/(?P<project>.+?)/locations/(?P<location>.+?)/datasets/(?P<dataset>.+?)$",
210+
path,
211+
)
207212
return m.groupdict() if m else {}
208213

209214
@staticmethod
210215
def dataset_path(
211216
project: str,
212-
location: str,
213217
dataset: str,
214218
) -> str:
215219
"""Returns a fully-qualified dataset string."""
216-
return "projects/{project}/locations/{location}/datasets/{dataset}".format(
220+
return "projects/{project}/datasets/{dataset}".format(
217221
project=project,
218-
location=location,
219222
dataset=dataset,
220223
)
221224

222225
@staticmethod
223226
def parse_dataset_path(path: str) -> Dict[str, str]:
224227
"""Parses a dataset path into its component segments."""
225-
m = re.match(
226-
r"^projects/(?P<project>.+?)/locations/(?P<location>.+?)/datasets/(?P<dataset>.+?)$",
227-
path,
228-
)
228+
m = re.match(r"^projects/(?P<project>.+?)/datasets/(?P<dataset>.+?)$", path)
229229
return m.groupdict() if m else {}
230230

231231
@staticmethod

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.