MCPcopy Index your code
hub / github.com/datmo/datmo / create_from_task

Method create_from_task

datmo/core/controller/snapshot.py:226–302  ·  view source on GitHub ↗

Create snapshot from a completed task. # TODO: enable create from task DURING a run Parameters ---------- message : str long description of snapshot task_id : str task object to use to create snapshot label: str, optional

(self,
                         message,
                         task_id,
                         label=None,
                         config=None,
                         stats=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

createFunction · 0.95
test_create_from_taskMethod · 0.80
createMethod · 0.80

Calls 4

validateFunction · 0.90
TaskNotCompleteClass · 0.90
get_by_idMethod · 0.80
updateMethod · 0.45

Tested by 1

test_create_from_taskMethod · 0.64