idmtools_calibra.singularity_json_python_task module#
- class idmtools_calibra.singularity_json_python_task.SingularityJSONConfiguredPythonTask(command: Union[str, idmtools.entities.command_line.CommandLine] = <property object at 0x7f114081a6d0>, platform_requirements: Set[idmtools.entities.platform_requirements.PlatformRequirements] = <factory>, _ITask__pre_creation_hooks: List[Callable[[Union[ForwardRef('Simulation'), ForwardRef('IWorkflowItem')], ForwardRef('IPlatform')], NoReturn]] = <factory>, _ITask__post_creation_hooks: List[Callable[[Union[ForwardRef('Simulation'), ForwardRef('IWorkflowItem')], ForwardRef('IPlatform')], NoReturn]] = <factory>, common_assets: idmtools.assets.asset_collection.AssetCollection = <factory>, transient_assets: idmtools.assets.asset_collection.AssetCollection = <factory>, script_path: str = None, python_path: str = 'python', parameters: dict = <factory>, envelope: str = None, config_file_name: str = 'config.json', is_config_common: bool = False, configfile_argument: Optional[str] = '--config', command_line_argument_no_filename: bool = False, provided_command: Optional[idmtools.entities.command_line.CommandLine] = <factory>)[source]#
Bases:
JSONConfiguredPythonTask
- provided_command: CommandLine | None#
- pre_creation(parent, platform)[source]#
Pre-creation.
- Parameters:
parent – Parent of task
platform – Platform Python Script is being executed on
- Returns:
None