datacatalog.managers.catalog package¶
-
class
datacatalog.managers.catalog.
CatalogManager
(mongodb, agave=None, *args, **kwargs)[source]¶ Bases:
datacatalog.managers.common.Manager
Supports operations spanning multiple LinkedStore collections
-
delete_by_uuid
(uuid, token=None)[source]¶ Deletes LinkedStore document and all linked references
Parameters: Returns: Whether delete was successful or not
Return type:
-
link
(uuid1, uuid2, type='child_of', token=None)[source]¶ User-friendly method to link two Data Catalog documents
Parameters: Raises: ValueError
– Raised when invalid or unknown identifers are encounteredReturns: The modified record, including its new linkage
Return type:
-
Submodules¶
datacatalog.managers.catalog.catalog module¶
-
class
datacatalog.managers.catalog.catalog.
CatalogManager
(mongodb, agave=None, *args, **kwargs)[source]¶ Bases:
datacatalog.managers.common.Manager
Supports operations spanning multiple LinkedStore collections
-
delete_by_uuid
(uuid, token=None)[source]¶ Deletes LinkedStore document and all linked references
Parameters: Returns: Whether delete was successful or not
Return type:
-
link
(uuid1, uuid2, type='child_of', token=None)[source]¶ User-friendly method to link two Data Catalog documents
Parameters: Raises: ValueError
– Raised when invalid or unknown identifers are encounteredReturns: The modified record, including its new linkage
Return type:
-