MCPcopy Create free account
hub / github.com/alephdata/aleph / get_nested_collection

Function get_nested_collection

aleph/views/util.py:125–127  ·  view source on GitHub ↗
(data, action=Authz.READ)

Source from the content-addressed store, hash-verified

123
124
125def get_nested_collection(data, action=Authz.READ):
126 collection_id = get_nested(data, "collection", "collection_id")
127 return get_db_collection(collection_id, action)
128
129
130def get_index_collection(collection_id, action=Authz.READ):

Callers 3

createFunction · 0.90
createFunction · 0.90
updateFunction · 0.90

Calls 2

get_nestedFunction · 0.85
get_db_collectionFunction · 0.85

Tested by

no test coverage detected