hpcflow.sdk.submission.types.JobScriptCreationArguments#
- class hpcflow.sdk.submission.types.JobScriptCreationArguments#
Bases:
TypedDict
Arguments to pass to create a
Jobscript
.Methods
Create a new dictionary with keys from iterable and values set to value.
Return the value for key if key is in the dictionary, else default.
If the key is not found, return the default if given; otherwise, raise a KeyError.
Remove and return a (key, value) pair as a 2-tuple.
Insert key with a value of default if key is not in the dictionary.
If E is present and has a .keys() method, then does: for k in E.keys(): D[k] = E[k] If E is present and lacks a .keys() method, then does: for k, v in E: D[k] = v In either case, this is followed by: for k in F: D[k] = F[k]
Attributes
The task insertion IDs.
The actions of the tasks.
The elements of the tasks.
Element action run information.
Resources to use.
Description of what loops are in play.
Description of dependencies.
When the jobscript was submitted, if known.
Where the jobscript was submitted, if known.
Description of what the jobscript was submitted to, if known.
The command line used to do the commit, if known.
The job ID from the scheduler, if known.
The process ID of the subprocess, if known.
Version info about the target system.
The name of the OS.
The name of the shell.
The scheduler used.
Whether the jobscript is currently running.
Do not supply!
Do not supply!
- EAR_ID: NDArray#
Element action run information.
- clear() None. Remove all items from D. #
- copy() a shallow copy of D #
- dependencies: dict[int, ResolvedDependencies]#
Description of dependencies.
- fromkeys(value=None, /)#
Create a new dictionary with keys from iterable and values set to value.
- get(key, default=None, /)#
Return the value for key if key is in the dictionary, else default.
- items() a set-like object providing a view on D's items #
- keys() a set-like object providing a view on D's keys #
- pop(k[, d]) v, remove specified key and return the corresponding value. #
If the key is not found, return the default if given; otherwise, raise a KeyError.
- popitem()#
Remove and return a (key, value) pair as a 2-tuple.
Pairs are returned in LIFO (last-in, first-out) order. Raises KeyError if the dict is empty.
- resources: ElementResources#
Resources to use.
- setdefault(key, default=None, /)#
Insert key with a value of default if key is not in the dictionary.
Return the value for key if key is in the dictionary, else default.
- submit_time: NotRequired[datetime]#
When the jobscript was submitted, if known.
- update([E, ]**F) None. Update D from mapping/iterable E and F. #
If E is present and has a .keys() method, then does: for k in E.keys(): D[k] = E[k] If E is present and lacks a .keys() method, then does: for k, v in E: D[k] = v In either case, this is followed by: for k in F: D[k] = F[k]
- values() an object providing a view on D's values #