Content-Length: 274319 | pFad | https://github.com/googleapis/python-aiplatform/commit/0385c4c1515b6ddb75732ab5dfdbcf0bd3fb3a00

E2 fix: log_metrics docstring error (#1588) · googleapis/python-aiplatform@0385c4c · GitHub
Skip to content

Commit 0385c4c

Browse files
fix: log_metrics docstring error (#1588)
* Update experiment_run_resource.py * fix: log_metrics docstring Co-authored-by: sina chavoshi <sina.chavoshi@gmail.com>
1 parent f787813 commit 0385c4c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

google/cloud/aiplatform/metadata/experiment_run_resource.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -939,7 +939,7 @@ def log_params(self, params: Dict[str, Union[float, int, str]]):
939939
Required. Parameter key/value pairs.
940940
941941
Raises:
942-
ValueError: If key is not str or value is not float, int, str.
942+
TypeError: If key is not str or value is not float, int, str.
943943
"""
944944
# query the latest run execution resource before logging.
945945
for key, value in params.items():
@@ -968,7 +968,7 @@ def log_metrics(self, metrics: Dict[str, Union[float, int, str]]):
968968
```
969969
970970
Args:
971-
metrics (Dict[str, Union[float, int]]):
971+
metrics (Dict[str, Union[float, int, str]]):
972972
Required. Metrics key/value pairs.
973973
Raises:
974974
TypeError: If keys are not str or values are not float, int, or str.

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/googleapis/python-aiplatform/commit/0385c4c1515b6ddb75732ab5dfdbcf0bd3fb3a00

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy