MCPcopy Create free account
hub / github.com/datmo/datmo / current_code

Method current_code

datmo/core/controller/code/code.py:27–43  ·  view source on GitHub ↗

Get the current code object Returns ------- Code an object representing the current code reference state Raises ------ UnstagedChanges if there are unstaged changes error out because no current code

(self)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

current_snapshotMethod · 0.80
test_current_codeMethod · 0.80

Calls 3

createMethod · 0.95
current_hashMethod · 0.45

Tested by 1

test_current_codeMethod · 0.64