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

Method create

datmo/core/controller/code/code.py:45–87  ·  view source on GitHub ↗

Create a Code object Parameters ---------- commit_id : str, optional if commit_id is already present, will not make a new reference and commit Returns ------- Code an object representing the code reference created Rai

(self, commit_id=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

current_codeMethod · 0.95
test_createMethod · 0.45
test_run_helperMethod · 0.45
test_runMethod · 0.45
test_listMethod · 0.45
test_getMethod · 0.45
test_get_filesMethod · 0.45
test_updateMethod · 0.45
test_deleteMethod · 0.45
test_stop_successMethod · 0.45

Calls 3

CodeClass · 0.90
create_refMethod · 0.45
queryMethod · 0.45

Tested by 15

test_createMethod · 0.36
test_run_helperMethod · 0.36
test_runMethod · 0.36
test_listMethod · 0.36
test_getMethod · 0.36
test_get_filesMethod · 0.36
test_updateMethod · 0.36
test_deleteMethod · 0.36
test_stop_successMethod · 0.36