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

fix: add clarity to param model_name #888

Merged
merged 6 commits into from Dec 10, 2021
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -31,6 +31,11 @@ def deploy_model_with_automatic_resources_sample(
metadata: Optional[Sequence[Tuple[str, str]]] = (),
sync: bool = True,
):
"""
model_name: A fully-qualified model resource name or model ID.
Example: "projects/123/locations/us-central1/models/456" or
"456" when project and location are initialized or passed.
"""

aiplatform.init(project=project, location=location)

Expand Down
Expand Up @@ -37,6 +37,11 @@ def deploy_model_with_dedicated_resources_sample(
metadata: Optional[Sequence[Tuple[str, str]]] = (),
sync: bool = True,
):
"""
model_name: A fully-qualified model resource name or model ID.
Example: "projects/123/locations/us-central1/models/456" or
"456" when project and location are initialized or passed.
"""

aiplatform.init(project=project, location=location)

Expand Down