Module - python_job.jobs.job_python_job¶
JobConfig¶
JSON configuration for Job |
||
type |
object |
|
properties |
||
|
Venv Dir |
|
Path to the virtual environment directory. |
||
type |
string |
|
|
Requirements File Path |
|
Path to the requirements.txt file. |
||
type |
string |
|
|
Requirements Body |
|
Requirements.txt file content.Can be empty if requirements_file_path is provided. |
||
type |
string |
|
default |
||
|
Python File Path |
|
Path to the python file. |
||
type |
string |
|
|
Python File Body |
|
Python file content.Can be empty if python_file_path is provided. |
||
type |
string |
|
default |
||
|
Args |
|
Args passed to python job at runtime, available within the job via sys.argv. |
||
type |
array |
|
default |
||
items |
||
|
Pip Cache |
|
Use pip cache. |
||
type |
boolean |
|
default |
True |
|
|
Env Vars |
|
Environment variables. |
||
type |
object |
|
|
Timeout |
|
Job timeout in seconds. |
||
type |
integer |