idmtools.registry.hook_specs module¶
-
idmtools.registry.hook_specs.
idmtools_platform_pre_create_item
(item: IEntity, kwargs) → IEntity¶ This callback is called by the pre_create of each object type on a platform. An item can be a suite, workitem, simulation, asset collection or an experiment :param item: :param kwargs: extra args
Returns:
-
idmtools.registry.hook_specs.
idmtools_on_start
()¶ Execute on startup when idmtools is first imported
Returns:
-
idmtools.registry.hook_specs.
idmtools_runnable_on_done
(item: IRunnableEntity, **kwargs)¶ Called when a runnable item finishes when it was being monitored
- Parameters
item – Item that was running
**kwargs –
Returns:
-
idmtools.registry.hook_specs.
idmtools_runnable_on_succeeded
(item: IRunnableEntity, **kwargs)¶ Executed when a runnable item succeeds
- Parameters
item – Item that was running
**kwargs –
Returns:
-
idmtools.registry.hook_specs.
idmtools_runnable_on_failure
(item: IRunnableEntity, **kwargs)¶ Executed when a runnable item fails
- Parameters
item – Item that was running
**kwargs –
Returns: