Skip to content

Commit

Permalink
fix: add quotes to logged snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
sasha-gitg committed Apr 12, 2021
1 parent c086357 commit 0ecd0a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion google/cloud/aiplatform/base.py
Expand Up @@ -99,7 +99,7 @@ def log_create_complete(
self._logger.info(f"{cls.__name__} created. Resource name: {resource.name}")
self._logger.info(f"To use this {cls.__name__} in another session:")
self._logger.info(
f"{variable_name} = aiplatform.{cls.__name__}({resource.name})"
f"{variable_name} = aiplatform.{cls.__name__}('{resource.name}')"
)

def log_action_start_against_resource(
Expand Down

0 comments on commit 0ecd0a8

Please sign in to comment.