Python Jobs
Work in progress
This api is still being built and is subject to change
class PythonJob(Job):
def __init__(self, name: str,
script: str,
pool: str,
batch_name=None,
**kwargs):
This is a representation of an individual Python Job.
This class inherits from Job
Name |
Type |
Description | |
---|---|---|---|
script |
str |
The path to the script to be executed | Mandatory |
function |
str |
The name of the function to be executed. Defaults to None | Optional |
arguments |
list or dict |
The arguments required. Can be provided as either positional arguments, or key word arguments | Optional |
outputs |
list |
A list of output paths that can be accessed through deadline monitor | Optional |