We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 908e708 commit 158f329Copy full SHA for 158f329
1 file changed
examples/api-example.py
@@ -3,8 +3,6 @@
3
4
project = "api_example_project"
5
6
-print("Creating multiple training runs...")
7
-
8
for i in range(3):
9
run_name = f"training_run_{i}"
10
trackio.init(project=project, name=run_name)
@@ -18,20 +16,7 @@
18
16
)
19
17
20
trackio.finish()
21
- print(f" Created run: {run_name}")
22
23
-print(f"\nAll runs in '{project}':")
24
api = Api()
25
runs = api.runs(project)
26
-for run in runs:
27
- print(f" - {run.name}")
28
29
-print(f"\nDeleting run: {runs[0].name}")
30
runs[0].delete()
31
32
-print(f"\nRemaining runs in '{project}':")
33
-runs = api.runs(project)
34
35
36
37
-print(f"\nTotal runs remaining: {len(runs)}")
0 commit comments