Skip to content

flywheel.models.subject_output

SubjectOutput

Bases: SubjectMixin

age property writable

Gets the age of this SubjectOutput.

Returns:

Type Description
int

The age of this SubjectOutput

analyses property writable

Gets the analyses of this SubjectOutput.

Returns:

Type Description
list[union[AnalysisOutput,AnalysisOutputInflatedJob]]

The analyses of this SubjectOutput

code property writable

Gets the code of this SubjectOutput.

Returns:

Type Description
str

The code of this SubjectOutput

cohort property writable

Gets the cohort of this SubjectOutput.

Returns:

Type Description
Cohort

The cohort of this SubjectOutput

copy_of property writable

Gets the copy_of of this SubjectOutput.

Returns:

Type Description
str

The copy_of of this SubjectOutput

copy_status property writable

Gets the copy_status of this SubjectOutput.

Returns:

Type Description
CopyStatus

The copy_status of this SubjectOutput

created property writable

Gets the created of this SubjectOutput.

Returns:

Type Description
datetime

The created of this SubjectOutput

date_of_birth property writable

Gets the date_of_birth of this SubjectOutput.

Returns:

Type Description
datetime

The date_of_birth of this SubjectOutput

ethnicity property writable

Gets the ethnicity of this SubjectOutput.

Returns:

Type Description
str

The ethnicity of this SubjectOutput

files property writable

Gets the files of this SubjectOutput.

Returns:

Type Description
list[FileOutput]

The files of this SubjectOutput

firstname property writable

Gets the firstname of this SubjectOutput.

Returns:

Type Description
str

The firstname of this SubjectOutput

id property writable

Gets the id of this SubjectOutput.

Returns:

Type Description
str

The id of this SubjectOutput

info property writable

Gets the info of this SubjectOutput.

Returns:

Type Description
object

The info of this SubjectOutput

info_exists property writable

Gets the info_exists of this SubjectOutput.

Returns:

Type Description
bool

The info_exists of this SubjectOutput

join_origin property writable

Gets the join_origin of this SubjectOutput.

Returns:

Type Description
JoinOrigins

The join_origin of this SubjectOutput

label property writable

Gets the label of this SubjectOutput.

Returns:

Type Description
str

The label of this SubjectOutput

lastname property writable

Gets the lastname of this SubjectOutput.

Returns:

Type Description
str

The lastname of this SubjectOutput

master_code property writable

Gets the master_code of this SubjectOutput.

Returns:

Type Description
str

The master_code of this SubjectOutput

mlset property writable

Gets the mlset of this SubjectOutput.

Returns:

Type Description
MLType

The mlset of this SubjectOutput

modified property writable

Gets the modified of this SubjectOutput.

Returns:

Type Description
datetime

The modified of this SubjectOutput

notes property writable

Gets the notes of this SubjectOutput.

Returns:

Type Description
list[Note]

The notes of this SubjectOutput

original_copy_of property writable

Gets the original_copy_of of this SubjectOutput.

Returns:

Type Description
str

The original_copy_of of this SubjectOutput

parents property writable

Gets the parents of this SubjectOutput.

Returns:

Type Description
SubjectParents

The parents of this SubjectOutput

permissions property writable

Gets the permissions of this SubjectOutput.

Returns:

Type Description
list[SubjectRolePermission]

The permissions of this SubjectOutput

project property writable

Gets the project of this SubjectOutput.

Returns:

Type Description
str

The project of this SubjectOutput

race property writable

Gets the race of this SubjectOutput.

Returns:

Type Description
str

The race of this SubjectOutput

revision property writable

Gets the revision of this SubjectOutput.

Returns:

Type Description
int

The revision of this SubjectOutput

sex property writable

Gets the sex of this SubjectOutput.

Returns:

Type Description
str

The sex of this SubjectOutput

species property writable

Gets the species of this SubjectOutput.

Returns:

Type Description
str

The species of this SubjectOutput

state property writable

Gets the state of this SubjectOutput.

Returns:

Type Description
SubjectState

The state of this SubjectOutput

strain property writable

Gets the strain of this SubjectOutput.

Returns:

Type Description
str

The strain of this SubjectOutput

tags property writable

Gets the tags of this SubjectOutput.

Returns:

Type Description
list[str]

The tags of this SubjectOutput

type property writable

Gets the type of this SubjectOutput.

Returns:

Type Description
str

The type of this SubjectOutput

__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__(id=None, project=None, created=None, date_of_birth=None, modified=None, revision=None, parents=None, permissions=None, firstname=None, lastname=None, sex=None, age=None, cohort=None, mlset=None, type=None, race=None, ethnicity=None, species=None, strain=None, label=None, code=None, master_code=None, notes=None, tags=None, info=None, info_exists=None, state=None, files=None, analyses=None, join_origin=None, copy_of=None, original_copy_of=None, copy_status=None)

SubjectOutput - a model defined in Swagger

Parameters:

Name Type Description Default
id (str, optional)

, defaults to None

None
project (str, optional)

, defaults to None

None
created (datetime, optional)

, defaults to None

None
date_of_birth (datetime, optional)

, defaults to None

None
modified (datetime, optional)

, defaults to None

None
revision (int, optional)

, defaults to None

None
parents (SubjectParents, optional)

, defaults to None

None
permissions (list[SubjectRolePermission], optional)

, defaults to None

None
firstname (str, optional)

, defaults to None

None
lastname (str, optional)

, defaults to None

None
sex (str, optional)

, defaults to None

None
age (int, optional)

, defaults to None

None
cohort (Cohort, optional)

, defaults to None

None
mlset (MLType, optional)

, defaults to None

None
type (str, optional)

, defaults to None

None
race (str, optional)

, defaults to None

None
ethnicity (str, optional)

, defaults to None

None
species (str, optional)

, defaults to None

None
strain (str, optional)

, defaults to None

None
label (str, optional)

, defaults to None

None
code (str, optional)

, defaults to None

None
master_code (str, optional)

, defaults to None

None
notes (list[Note], optional)

, defaults to None

None
tags (list[str], optional)

, defaults to None

None
info (object, optional)

, defaults to None

None
info_exists (bool, optional)

, defaults to None

None
state (SubjectState, optional)

, defaults to None

None
files (list[FileOutput], optional)

, defaults to None

None
analyses (list[union[AnalysisOutput, AnalysisOutputInflatedJob]], optional)

, defaults to None

None
join_origin (JoinOrigins, optional)

, defaults to None

None
copy_of (str, optional)

, defaults to None

None
original_copy_of (str, optional)

, defaults to None

None
copy_status (CopyStatus, 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