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

Method set

datmo/core/storage/driver/__init__.py:45–61  ·  view source on GitHub ↗

create entity object in collection Parameters ---------- collection : str name of the collection obj : dict normalized python representation of entity to save Returns ------- dict normalized python

(self, collection, obj)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

test_db_setMethod · 0.45
test_db_getMethod · 0.45
test_db_updateMethod · 0.45
test_db_query_boolMethod · 0.45
test_db_existsMethod · 0.45
test_delete_entityMethod · 0.45
test_document_type_2Method · 0.45
test_query_gte_intMethod · 0.45

Calls

no outgoing calls

Tested by 15

test_db_setMethod · 0.36
test_db_getMethod · 0.36
test_db_updateMethod · 0.36
test_db_query_boolMethod · 0.36
test_db_existsMethod · 0.36
test_delete_entityMethod · 0.36
test_document_type_2Method · 0.36
test_query_gte_intMethod · 0.36