Skip to content

Commit

Permalink
Fixed getting the class name.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ark-kun committed Feb 5, 2022
1 parent c0d2aee commit f08c19b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion google/cloud/aiplatform/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,7 @@ def to_dict(self) -> Dict[str, Any]:
def _generate_display_name(cls, prefix: Optional[str] = None) -> str:
"""Returns a display name containing class name and time string."""
if not prefix:
prefix = cls.name
prefix = cls.__name__
return prefix + " " + datetime.datetime.now().isoformat(sep=" ")


Expand Down

0 comments on commit f08c19b

Please sign in to comment.