Enterprise Asset Library#
- class dataikuapi.dss.enterprise_asset_library.DSSEnterpriseAssetLibrary(client)#
Handle to interact with the Enterprise Asset Library on the DSS instance.
Important
Do not create this class directly, use
dataikuapi.DSSClient.get_enterprise_asset_library()- list_collections()#
Lists the collections you have read access to in the Enterprise Asset Library as dict. Each dict contains at least a field “id” indicating the identifier of this collection and “name”
- Returns:
a list of dict
- Return type:
list[dict]
- list_prompts(restrict_collections=None)#
Lists the prompts in the collections you have read access to
- Parameters:
restrict_collections ((optional) list[string]) – collection ids you want to get the prompts from
- Returns:
the list of prompts in the collections you have access to
- Return type:
list[dict]
- get_collection(collection_id)#
Get a handle to interact with a specific Enterprise Asset Collection
- Parameters:
collection_id (str) – the id of the Enterprise Asset Collection to fetch
- Return type:
dataikuapi.dss.enterprise_asset_library.DSSEnterpriseAssetCollection
