flywheel.models.job_ask_response_job
JobAskResponseJob
Bases: JobMixin
attempt property writable
Gets the attempt of this JobAskResponseJob.
Returns:
| Type | Description |
|---|---|
int | The attempt of this JobAskResponseJob |
batch property writable
Gets the batch of this JobAskResponseJob.
Returns:
| Type | Description |
|---|---|
str | The batch of this JobAskResponseJob |
compute_provider_id property writable
Gets the compute_provider_id of this JobAskResponseJob.
Returns:
| Type | Description |
|---|---|
str | The compute_provider_id of this JobAskResponseJob |
config property writable
Gets the config of this JobAskResponseJob.
Returns:
| Type | Description |
|---|---|
dict(str, object) | The config of this JobAskResponseJob |
created property writable
Gets the created of this JobAskResponseJob.
Returns:
| Type | Description |
|---|---|
datetime | The created of this JobAskResponseJob |
destination property writable
Gets the destination of this JobAskResponseJob.
Returns:
| Type | Description |
|---|---|
ContainerReference | The destination of this JobAskResponseJob |
failed_output_accepted property writable
Gets the failed_output_accepted of this JobAskResponseJob.
Returns:
| Type | Description |
|---|---|
bool | The failed_output_accepted of this JobAskResponseJob |
failure_reason property writable
Gets the failure_reason of this JobAskResponseJob.
Returns:
| Type | Description |
|---|---|
str | The failure_reason of this JobAskResponseJob |
gear_id property writable
Gets the gear_id of this JobAskResponseJob.
Returns:
| Type | Description |
|---|---|
str | The gear_id of this JobAskResponseJob |
gear_info property writable
Gets the gear_info of this JobAskResponseJob.
Returns:
| Type | Description |
|---|---|
GearInfo | The gear_info of this JobAskResponseJob |
id property writable
Gets the id of this JobAskResponseJob.
Returns:
| Type | Description |
|---|---|
str | The id of this JobAskResponseJob |
inputs property writable
Gets the inputs of this JobAskResponseJob.
Returns:
| Type | Description |
|---|---|
dict(str, union[JobFileInput,ContextInput,CoreModelsJobsApiKeyInput]) | The inputs of this JobAskResponseJob |
label property writable
Gets the label of this JobAskResponseJob.
Returns:
| Type | Description |
|---|---|
str | The label of this JobAskResponseJob |
legacy_inputs property writable
Gets the legacy_inputs of this JobAskResponseJob.
Returns:
| Type | Description |
|---|---|
list[LegacyInput] | The legacy_inputs of this JobAskResponseJob |
modified property writable
Gets the modified of this JobAskResponseJob.
Returns:
| Type | Description |
|---|---|
datetime | The modified of this JobAskResponseJob |
origin property writable
Gets the origin of this JobAskResponseJob.
Returns:
| Type | Description |
|---|---|
Origin | The origin of this JobAskResponseJob |
parent_info property writable
Gets the parent_info of this JobAskResponseJob.
Returns:
| Type | Description |
|---|---|
JobDetailParentInfo | The parent_info of this JobAskResponseJob |
parents property writable
Gets the parents of this JobAskResponseJob.
Returns:
| Type | Description |
|---|---|
JobParents | The parents of this JobAskResponseJob |
previous_job_id property writable
Gets the previous_job_id of this JobAskResponseJob.
Returns:
| Type | Description |
|---|---|
str | The previous_job_id of this JobAskResponseJob |
priority property writable
Gets the priority of this JobAskResponseJob.
Returns:
| Type | Description |
|---|---|
JobPriority | The priority of this JobAskResponseJob |
produced_metadata property writable
Gets the produced_metadata of this JobAskResponseJob.
Returns:
| Type | Description |
|---|---|
dict(str, object) | The produced_metadata of this JobAskResponseJob |
profile property writable
Gets the profile of this JobAskResponseJob.
Returns:
| Type | Description |
|---|---|
JobProfile | The profile of this JobAskResponseJob |
related_container_ids property writable
Gets the related_container_ids of this JobAskResponseJob.
Returns:
| Type | Description |
|---|---|
list[str] | The related_container_ids of this JobAskResponseJob |
request property writable
Gets the request of this JobAskResponseJob.
Returns:
| Type | Description |
|---|---|
JobRequest | The request of this JobAskResponseJob |
retried property writable
Gets the retried of this JobAskResponseJob.
Returns:
| Type | Description |
|---|---|
datetime | The retried of this JobAskResponseJob |
role_id property writable
Gets the role_id of this JobAskResponseJob.
Returns:
| Type | Description |
|---|---|
str | The role_id of this JobAskResponseJob |
rule_id property writable
Gets the rule_id of this JobAskResponseJob.
Returns:
| Type | Description |
|---|---|
str | The rule_id of this JobAskResponseJob |
saved_files property writable
Gets the saved_files of this JobAskResponseJob.
Returns:
| Type | Description |
|---|---|
list[str] | The saved_files of this JobAskResponseJob |
state property writable
Gets the state of this JobAskResponseJob.
Returns:
| Type | Description |
|---|---|
JobState | The state of this JobAskResponseJob |
tags property writable
Gets the tags of this JobAskResponseJob.
Returns:
| Type | Description |
|---|---|
list[str] | The tags of this JobAskResponseJob |
transitions property writable
Gets the transitions of this JobAskResponseJob.
Returns:
| Type | Description |
|---|---|
Transitions | The transitions of this JobAskResponseJob |
__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__(compute_provider_id=None, failure_reason=None, label=None, priority=None, modified=None, parents=None, produced_metadata=None, related_container_ids=None, request=None, retried=None, saved_files=None, state=None, profile=None, transitions=None, gear_id=None, gear_info=None, rule_id=None, role_id=None, inputs=None, legacy_inputs=None, destination=None, tags=None, attempt=None, previous_job_id=None, created=None, id=None, config=None, origin=None, batch=None, failed_output_accepted=None, parent_info=None)
JobAskResponseJob - a model defined in Swagger
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
compute_provider_id | (str, optional) | , defaults to None | None |
failure_reason | (str, optional) | , defaults to None | None |
label | (str, optional) | , defaults to None | None |
priority | (JobPriority, optional) | , defaults to None | None |
modified | (datetime, optional) | , defaults to None | None |
parents | (JobParents, optional) | , defaults to None | None |
produced_metadata | (dict(str, object), optional) | , defaults to None | None |
related_container_ids | (list[str], optional) | , defaults to None | None |
request | (JobRequest, optional) | , defaults to None | None |
retried | (datetime, optional) | , defaults to None | None |
saved_files | (list[str], optional) | , defaults to None | None |
state | (JobState, optional) | , defaults to None | None |
profile | (JobProfile, optional) | , defaults to None | None |
transitions | (Transitions, optional) | , defaults to None | None |
gear_id | (str, optional) | , defaults to None | None |
gear_info | (GearInfo, optional) | , defaults to None | None |
rule_id | (str, optional) | , defaults to None | None |
role_id | (str, optional) | , defaults to None | None |
inputs | (dict(str, union[JobFileInput, ContextInput, CoreModelsJobsApiKeyInput]), optional) | , defaults to None | None |
legacy_inputs | (list[LegacyInput], optional) | , defaults to None | None |
destination | (ContainerReference, optional) | , defaults to None | None |
tags | (list[str], optional) | , defaults to None | None |
attempt | (int, optional) | , defaults to None | None |
previous_job_id | (str, optional) | , defaults to None | None |
created | (datetime, optional) | , defaults to None | None |
id | (str, optional) | , defaults to None | None |
config | (dict(str, object), optional) | , defaults to None | None |
origin | (Origin, optional) | , defaults to None | None |
batch | (str, optional) | , defaults to None | None |
failed_output_accepted | (bool, optional) | , defaults to None | None |
parent_info | (JobDetailParentInfo, 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