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

Class Code

datmo/core/entity/code.py:3–62  ·  view source on GitHub ↗

Code is an entity object to represent a version of source code Note ---- All attributes of the class in the ``Attributes`` section must be serializable by the DB Parameters ---------- dictionary : dict id : str, optional the id of the entity

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 13

createMethod · 0.90
test_get_by_id_codeMethod · 0.90
test_update_codeMethod · 0.90
test_delete_codeMethod · 0.90
test_query_codesMethod · 0.90
test_init_no_idMethod · 0.90
test_init_with_idMethod · 0.90
test_eqMethod · 0.90

Calls

no outgoing calls

Tested by 12

test_get_by_id_codeMethod · 0.72
test_update_codeMethod · 0.72
test_delete_codeMethod · 0.72
test_query_codesMethod · 0.72
test_init_no_idMethod · 0.72
test_init_with_idMethod · 0.72
test_eqMethod · 0.72
test_to_dictionaryMethod · 0.72