idmtools_platform_comps.comps_operations.asset_collection_operations module

class idmtools_platform_comps.comps_operations.asset_collection_operations.CompsPlatformAssetCollectionOperations(platform: 'COMPSPlatform', platform_type: Type = <class 'COMPS.Data.AssetCollection.AssetCollection'>)

Bases: idmtools.entities.iplatform_ops.iplatform_asset_collection_operations.IPlatformAssetCollectionOperations

platform: ‘COMPSPlatform’
platform_type

alias of COMPS.Data.AssetCollection.AssetCollection

get(asset_collection_id: uuid.UUID, load_children: Optional[List[str]] = None, query_criteria: Optional[COMPS.Data.QueryCriteria.QueryCriteria] = None, **kwargs) → COMPS.Data.AssetCollection.AssetCollection

Get an asset collection by id

Parameters
  • asset_collection_id – Id of asset collection

  • load_children – Optional list of children to load. Defaults to assets and tags

  • query_criteria – Optional query_criteria. Ignores children default

  • **kwargs

Returns

COMPSAssetCollection

platform_create(asset_collection: idmtools.assets.asset_collection.AssetCollection, **kwargs) → COMPS.Data.AssetCollection.AssetCollection

Create AssetCollection

Parameters
  • asset_collection – AssetCollection to create

  • **kwargs

Returns

COMPSAssetCollection

to_entity(asset_collection: Union[COMPS.Data.AssetCollection.AssetCollection, COMPS.Data.SimulationFile.SimulationFile, List[COMPS.Data.SimulationFile.SimulationFile], COMPS.Data.OutputFileMetadata.OutputFileMetadata], **kwargs)idmtools.assets.asset_collection.AssetCollection

Convert COMPS Asset Collection or Simulation File to IDM Asset Collection

Parameters
  • asset_collection – Comps asset/asset collection to convert to idm asset collection

  • **kwargs

Returns

AssetCollection