@@ -465,21 +465,21 @@ def init(
465
465
466
466
Parameters
467
467
----------
468
- name : typing.Optional[ str] , optional
468
+ name : str, optional
469
469
the name to allocate this run, if not specified a name will be
470
470
selected at random, by default None
471
- metadata : typing.Optional[ dict[str, typing.Any] ], optional
471
+ metadata : typing.dict[str, typing.Any], optional
472
472
any metadata relating to the run as key-value pairs, by default None
473
- tags : typing.Optional[ list[str] ], optional
473
+ tags : typing.list[str], optional
474
474
a list of tags for this run, by default None
475
- description : typing.Optional[ str] , optional
475
+ description : str, optional
476
476
description of the run, by default None
477
477
folder : str, optional
478
478
folder within which to store the run, by default "/"
479
479
running : bool, optional
480
480
whether to set the status as running or created, the latter implying
481
481
the run will be commenced at a later time. Default is True.
482
- retention_period : typing.Optional[ str] , optional
482
+ retention_period : str, optional
483
483
describer for time period to retain run, the default of None
484
484
removes this constraint.
485
485
resources_metrics_interval : int, optional
@@ -749,7 +749,7 @@ def reconnect(self, run_id: str) -> bool:
749
749
----------
750
750
run_id : str
751
751
identifier of run to connect to
752
- uid : typing.Optional[ str] , optional
752
+ uid : str, optional
753
753
unique identifier for this run, by default None
754
754
755
755
Returns
@@ -1324,9 +1324,9 @@ def add_alerts(
1324
1324
1325
1325
Parameters
1326
1326
----------
1327
- ids : typing.Optional[ list[str] ], optional
1327
+ ids : typing.list[str], optional
1328
1328
unique identifiers of the alerts to attach, by default None
1329
- names : typing.Optional[ list[str] ], optional
1329
+ names : typing.list[str], optional
1330
1330
names of alerts to attach, by default None
1331
1331
1332
1332
Returns
0 commit comments