flywheel.models.input_job
InputJob
Bases: JobMixin
attempt property writable
Gets the attempt of this InputJob.
Returns:
| Type | Description |
|---|---|
int | The attempt of this InputJob |
batch property writable
Gets the batch of this InputJob.
Returns:
| Type | Description |
|---|---|
str | The batch of this InputJob |
compute_provider_id property writable
Gets the compute_provider_id of this InputJob.
Returns:
| Type | Description |
|---|---|
str | The compute_provider_id of this InputJob |
config property writable
Gets the config of this InputJob.
Returns:
| Type | Description |
|---|---|
dict(str, object) | The config of this InputJob |
destination property writable
Gets the destination of this InputJob.
Returns:
| Type | Description |
|---|---|
ContainerReference | The destination of this InputJob |
gear_id property writable
Gets the gear_id of this InputJob.
Returns:
| Type | Description |
|---|---|
str | The gear_id of this InputJob |
inputs property writable
Gets the inputs of this InputJob.
Returns:
| Type | Description |
|---|---|
dict(str, union[FileReference,FileVersion]) | The inputs of this InputJob |
label property writable
Gets the label of this InputJob.
Returns:
| Type | Description |
|---|---|
str | The label of this InputJob |
origin property writable
Gets the origin of this InputJob.
Returns:
| Type | Description |
|---|---|
Origin | The origin of this InputJob |
parents property writable
Gets the parents of this InputJob.
Returns:
| Type | Description |
|---|---|
JobParents | The parents of this InputJob |
previous_job_id property writable
Gets the previous_job_id of this InputJob.
Returns:
| Type | Description |
|---|---|
str | The previous_job_id of this InputJob |
priority property writable
Gets the priority of this InputJob.
Returns:
| Type | Description |
|---|---|
JobPriority | The priority of this InputJob |
role_id property writable
Gets the role_id of this InputJob.
Returns:
| Type | Description |
|---|---|
str | The role_id of this InputJob |
tags property writable
Gets the tags of this InputJob.
Returns:
| Type | Description |
|---|---|
list[str] | The tags of this InputJob |
__contains__(key)
Checks if the given value is a key in this object
__eq__(other)
Returns true if both objects are equal
__getitem__(key)
Returns the value of key
__init__(attempt=1, priority=None, batch=None, origin=None, compute_provider_id=None, destination=None, gear_id=None, role_id=None, inputs=None, parents=None, label='', previous_job_id=None, tags=None, config=None)
InputJob - a model defined in Swagger
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
attempt | (int, optional) | , defaults to 1 | 1 |
priority | (JobPriority, optional) | , defaults to None | None |
batch | (str, optional) | , defaults to None | None |
origin | (Origin, optional) | , defaults to None | None |
compute_provider_id | (str, optional) | , defaults to None | None |
destination | (ContainerReference, optional) | , defaults to None | None |
gear_id | (str, optional) | , defaults to None | None |
role_id | (str, optional) | , defaults to None | None |
inputs | (dict(str, union[FileReference, FileVersion]), optional) | , defaults to None | None |
parents | (JobParents, optional) | , defaults to None | None |
label | (str, optional) | , defaults to '' | '' |
previous_job_id | (str, optional) | , defaults to None | None |
tags | (list[str], optional) | , defaults to None | None |
config | (dict(str, object), optional) | , defaults to None | None |
__ne__(other)
Returns true if both objects are not equal
__repr__()
For print and pprint
__setitem__(key, value)
Sets the value of key
get(key, default=None)
Get the value of the provided json property, or default
items()
Returns the list of json property to value mapping
keys()
Returns the list of json properties in the object
positional_to_model(value) staticmethod
Converts a positional argument to a model value
return_value()
Unwraps return value from model
to_dict()
Returns the model properties as a dict
to_str()
Returns the string representation of the model
values()
Returns the list of values in the object