Skip to content

flywheel.models.job_output

JobOutput

Bases: JobMixin

attempt property writable

Gets the attempt of this JobOutput.

Returns:

Type Description
int

The attempt of this JobOutput

batch property writable

Gets the batch of this JobOutput.

Returns:

Type Description
str

The batch of this JobOutput

compute_provider_id property writable

Gets the compute_provider_id of this JobOutput.

Returns:

Type Description
str

The compute_provider_id of this JobOutput

config property writable

Gets the config of this JobOutput.

Returns:

Type Description
JobOutputConfig

The config of this JobOutput

created property writable

Gets the created of this JobOutput.

Returns:

Type Description
datetime

The created of this JobOutput

deleted_outputs property writable

Gets the deleted_outputs of this JobOutput.

Returns:

Type Description
list[DeletedFile]

The deleted_outputs of this JobOutput

destination property writable

Gets the destination of this JobOutput.

Returns:

Type Description
ContainerReference

The destination of this JobOutput

failed_output_accepted property writable

Gets the failed_output_accepted of this JobOutput.

Returns:

Type Description
bool

The failed_output_accepted of this JobOutput

failure_reason property writable

Gets the failure_reason of this JobOutput.

Returns:

Type Description
str

The failure_reason of this JobOutput

gear_id property writable

Gets the gear_id of this JobOutput.

Returns:

Type Description
str

The gear_id of this JobOutput

gear_info property writable

Gets the gear_info of this JobOutput.

Returns:

Type Description
GearInfo

The gear_info of this JobOutput

id property writable

Gets the id of this JobOutput.

Returns:

Type Description
str

The id of this JobOutput

inputs property writable

Gets the inputs of this JobOutput.

Returns:

Type Description
dict(str, FileReference)

The inputs of this JobOutput

label property writable

Gets the label of this JobOutput.

Returns:

Type Description
str

The label of this JobOutput

modified property writable

Gets the modified of this JobOutput.

Returns:

Type Description
datetime

The modified of this JobOutput

origin property writable

Gets the origin of this JobOutput.

Returns:

Type Description
Origin

The origin of this JobOutput

outputs property writable

Gets the outputs of this JobOutput.

Returns:

Type Description
list[FileOutput]

The outputs of this JobOutput

parent_info property writable

Gets the parent_info of this JobOutput.

Returns:

Type Description
JobDetailParentInfo

The parent_info of this JobOutput

parents property writable

Gets the parents of this JobOutput.

Returns:

Type Description
JobParents

The parents of this JobOutput

previous_job_id property writable

Gets the previous_job_id of this JobOutput.

Returns:

Type Description
str

The previous_job_id of this JobOutput

priority property writable

Gets the priority of this JobOutput.

Returns:

Type Description
JobPriority

The priority of this JobOutput

produced_metadata property writable

Gets the produced_metadata of this JobOutput.

Returns:

Type Description
dict(str, object)

The produced_metadata of this JobOutput

profile property writable

Gets the profile of this JobOutput.

Returns:

Type Description
JobProfile

The profile of this JobOutput

related_container_ids property writable

Gets the related_container_ids of this JobOutput.

Returns:

Type Description
list[str]

The related_container_ids of this JobOutput

request property writable

Gets the request of this JobOutput.

Returns:

Type Description
JobRequest

The request of this JobOutput

retried property writable

Gets the retried of this JobOutput.

Returns:

Type Description
datetime

The retried of this JobOutput

role_id property writable

Gets the role_id of this JobOutput.

Returns:

Type Description
str

The role_id of this JobOutput

rule_id property writable

Gets the rule_id of this JobOutput.

Returns:

Type Description
str

The rule_id of this JobOutput

saved_files property writable

Gets the saved_files of this JobOutput.

Returns:

Type Description
list[str]

The saved_files of this JobOutput

state property writable

Gets the state of this JobOutput.

Returns:

Type Description
JobState

The state of this JobOutput

tags property writable

Gets the tags of this JobOutput.

Returns:

Type Description
list[str]

The tags of this JobOutput

transitions property writable

Gets the transitions of this JobOutput.

Returns:

Type Description
Transitions

The transitions of this JobOutput

__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__(gear_id=None, gear_info=None, rule_id=None, role_id=None, inputs=None, destination=None, tags=None, priority=None, attempt=None, previous_job_id=None, created=None, modified=None, retried=None, state=None, request=None, id=None, config=None, origin=None, saved_files=None, outputs=None, deleted_outputs=None, produced_metadata=None, batch=None, failed_output_accepted=None, profile=None, failure_reason=None, related_container_ids=None, label=None, compute_provider_id=None, parents=None, transitions=None, parent_info=None)

JobOutput - a model defined in Swagger

Parameters:

Name Type Description Default
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, FileReference), optional)

, defaults to None

None
destination (ContainerReference, optional)

, defaults to None

None
tags (list[str], optional)

, defaults to None

None
priority (JobPriority, 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
modified (datetime, optional)

, defaults to None

None
retried (datetime, optional)

, defaults to None

None
state (JobState, optional)

, defaults to None

None
request (JobRequest, optional)

, defaults to None

None
id (str, optional)

, defaults to None

None
config (JobOutputConfig, optional)

, defaults to None

None
origin (Origin, optional)

, defaults to None

None
saved_files (list[str], optional)

, defaults to None

None
outputs (list[FileOutput], optional)

, defaults to None

None
deleted_outputs (list[DeletedFile], optional)

, defaults to None

None
produced_metadata (dict(str, object), optional)

, defaults to None

None
batch (str, optional)

, defaults to None

None
failed_output_accepted (bool, optional)

, defaults to None

None
profile (JobProfile, optional)

, defaults to None

None
failure_reason (str, optional)

, defaults to None

None
related_container_ids (list[str], optional)

, defaults to None

None
label (str, optional)

, defaults to None

None
compute_provider_id (str, optional)

, defaults to None

None
parents (JobParents, optional)

, defaults to None

None
transitions (Transitions, 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