MCPcopy Index your code
hub / github.com/OpenRL-Lab/Wandb_Tutorial / count_down

Function count_down

artifact/test_artifact.py:80–85  ·  view source on GitHub ↗
(duration:int)

Source from the content-addressed store, hash-verified

78 run.log_artifact(processed_data)
79
80def count_down(duration:int):
81 for remaining in range(duration, 0, -1):
82 sys.stdout.write("\r")
83 sys.stdout.write("{:2d} seconds remaining...".format(remaining))
84 sys.stdout.flush()
85 time.sleep(1)
86
87
88def test_artifact(args):

Callers 1

test_artifactFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected