Skip to content

flywheel.models.session_input

SessionInput

Bases: object

age property writable

Gets the age of this SessionInput.

Returns:

Type Description
int

The age of this SessionInput

info property writable

Gets the info of this SessionInput.

Returns:

Type Description
object

The info of this SessionInput

label property writable

Gets the label of this SessionInput.

Returns:

Type Description
str

The label of this SessionInput

operator property writable

Gets the operator of this SessionInput.

Returns:

Type Description
str

The operator of this SessionInput

project property writable

Gets the project of this SessionInput.

Returns:

Type Description
str

The project of this SessionInput

project_has_template property writable

Gets the project_has_template of this SessionInput.

Returns:

Type Description
bool

The project_has_template of this SessionInput

subject property writable

Gets the subject of this SessionInput.

Returns:

Type Description
union[SessionEmbeddedSubject,str]

The subject of this SessionInput

timestamp property writable

Gets the timestamp of this SessionInput.

Returns:

Type Description
datetime

The timestamp of this SessionInput

timezone property writable

Gets the timezone of this SessionInput.

Returns:

Type Description
str

The timezone of this SessionInput

uid property writable

Gets the uid of this SessionInput.

Returns:

Type Description
str

The uid of this SessionInput

weight property writable

Gets the weight of this SessionInput.

Returns:

Type Description
float

The weight of this SessionInput

__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__(project=None, label=None, info=None, uid=None, timestamp=None, timezone=None, subject=None, age=None, weight=None, operator=None, project_has_template=False)

SessionInput - a model defined in Swagger

Parameters:

Name Type Description Default
project (str, optional)

, defaults to None

None
label (str, optional)

, defaults to None

None
info (object, optional)

, defaults to None

None
uid (str, optional)

, defaults to None

None
timestamp (datetime, optional)

, defaults to None

None
timezone (str, optional)

, defaults to None

None
subject (union[SessionEmbeddedSubject, str], optional)

, defaults to None

None
age (int, optional)

, defaults to None

None
weight (float, optional)

, defaults to None

None
operator (str, optional)

, defaults to None

None
project_has_template (bool, optional)

, defaults to False

False

__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