Skip to content

Commit

Permalink
🦉 Updates from OwlBot post-processor
Browse files Browse the repository at this point in the history
  • Loading branch information
gcf-owl-bot[bot] committed Mar 17, 2023
1 parent 07037cc commit 2b4844b
Show file tree
Hide file tree
Showing 1,559 changed files with 50 additions and 637,105 deletions.
18 changes: 9 additions & 9 deletions google/cloud/aiplatform_v1/services/migration_service/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,23 +208,18 @@ def parse_annotated_dataset_path(path: str) -> Dict[str, str]:
@staticmethod
def dataset_path(
project: str,
location: str,
dataset: str,
) -> str:
"""Returns a fully-qualified dataset string."""
return "projects/{project}/locations/{location}/datasets/{dataset}".format(
return "projects/{project}/datasets/{dataset}".format(
project=project,
location=location,
dataset=dataset,
)

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

@staticmethod
Expand Down Expand Up @@ -252,18 +247,23 @@ def parse_dataset_path(path: str) -> Dict[str, str]:
@staticmethod
def dataset_path(
project: str,
location: str,
dataset: str,
) -> str:
"""Returns a fully-qualified dataset string."""
return "projects/{project}/datasets/{dataset}".format(
return "projects/{project}/locations/{location}/datasets/{dataset}".format(
project=project,
location=location,
dataset=dataset,
)

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

@staticmethod
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -230,40 +230,40 @@ def parse_dataset_path(path: str) -> Dict[str, str]:
@staticmethod
def dataset_path(
project: str,
location: str,
dataset: str,
) -> str:
"""Returns a fully-qualified dataset string."""
return "projects/{project}/locations/{location}/datasets/{dataset}".format(
return "projects/{project}/datasets/{dataset}".format(
project=project,
location=location,
dataset=dataset,
)

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

@staticmethod
def dataset_path(
project: str,
location: str,
dataset: str,
) -> str:
"""Returns a fully-qualified dataset string."""
return "projects/{project}/datasets/{dataset}".format(
return "projects/{project}/locations/{location}/datasets/{dataset}".format(
project=project,
location=location,
dataset=dataset,
)

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

@staticmethod
Expand Down
23 changes: 0 additions & 23 deletions google/cloud/aiplatform_v1beta1/types/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,9 +297,6 @@ class Model(proto.Message):
created in MetadataStore when creating the Model. The
Artifact resource name pattern is
``projects/{project}/locations/{location}/metadataStores/{metadata_store}/artifacts/{artifact}``.
large_model_reference (google.cloud.aiplatform_v1beta1.types.Model.LargeModelReference):
Optional. Used to specify the large model
reference. Only present for Large Models.
"""

class DeploymentResourcesType(proto.Enum):
Expand Down Expand Up @@ -410,21 +407,6 @@ class OriginalModelInfo(proto.Message):
number=1,
)

class LargeModelReference(proto.Message):
r"""Contains information about the Large Model.
Attributes:
name (str):
Required. The unique name of the large
Foundation or pre-built model. Like
"chat-panda", "text-panda".
"""

name: str = proto.Field(
proto.STRING,
number=1,
)

name: str = proto.Field(
proto.STRING,
number=1,
Expand Down Expand Up @@ -556,11 +538,6 @@ class LargeModelReference(proto.Message):
proto.STRING,
number=44,
)
large_model_reference: LargeModelReference = proto.Field(
proto.MESSAGE,
number=45,
message=LargeModelReference,
)


class PredictSchemata(proto.Message):
Expand Down
13 changes: 0 additions & 13 deletions owl-bot-staging/v1/.coveragerc

This file was deleted.

33 changes: 0 additions & 33 deletions owl-bot-staging/v1/.flake8

This file was deleted.

2 changes: 0 additions & 2 deletions owl-bot-staging/v1/MANIFEST.in

This file was deleted.

49 changes: 0 additions & 49 deletions owl-bot-staging/v1/README.rst

This file was deleted.

10 changes: 0 additions & 10 deletions owl-bot-staging/v1/docs/aiplatform_v1/dataset_service.rst

This file was deleted.

10 changes: 0 additions & 10 deletions owl-bot-staging/v1/docs/aiplatform_v1/endpoint_service.rst

This file was deleted.

This file was deleted.

10 changes: 0 additions & 10 deletions owl-bot-staging/v1/docs/aiplatform_v1/featurestore_service.rst

This file was deleted.

10 changes: 0 additions & 10 deletions owl-bot-staging/v1/docs/aiplatform_v1/index_endpoint_service.rst

This file was deleted.

10 changes: 0 additions & 10 deletions owl-bot-staging/v1/docs/aiplatform_v1/index_service.rst

This file was deleted.

10 changes: 0 additions & 10 deletions owl-bot-staging/v1/docs/aiplatform_v1/job_service.rst

This file was deleted.

10 changes: 0 additions & 10 deletions owl-bot-staging/v1/docs/aiplatform_v1/metadata_service.rst

This file was deleted.

10 changes: 0 additions & 10 deletions owl-bot-staging/v1/docs/aiplatform_v1/migration_service.rst

This file was deleted.

10 changes: 0 additions & 10 deletions owl-bot-staging/v1/docs/aiplatform_v1/model_service.rst

This file was deleted.

10 changes: 0 additions & 10 deletions owl-bot-staging/v1/docs/aiplatform_v1/pipeline_service.rst

This file was deleted.

6 changes: 0 additions & 6 deletions owl-bot-staging/v1/docs/aiplatform_v1/prediction_service.rst

This file was deleted.

20 changes: 0 additions & 20 deletions owl-bot-staging/v1/docs/aiplatform_v1/services.rst

This file was deleted.

Loading

0 comments on commit 2b4844b

Please sign in to comment.