idmtools.core.interfaces.iassets_enabled module

class idmtools.core.interfaces.iassets_enabled.IAssetsEnabled(assets: idmtools.assets.asset_collection.AssetCollection = <factory>)

Bases: object

Base class for objects containing an asset collection.

assets: AssetCollection
abstract gather_assets() → NoReturn

Function called at runtime to gather all assets in the collection.

add_assets(assets: List[TAsset] = None, fail_on_duplicate: bool = True) → NoReturn

Add more assets to AssetCollection.

add_asset(asset: Optional[TAsset] = None, fail_on_duplicate: bool = True) → NoReturn