Skip to content

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

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")

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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