Skip to content

Context manager for ds.start_run() and ds.publish() #25

Open
@lukemarsden

Description

@lukemarsden

Related to #24

If you have a reset the clock method, then you can provide a nice Python context manager to "time" a task

Example code:

with ds.timer():
    model.fit()
ds.publish("trained my superb model")

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions