Skip to content

flywheel.models.data_view_execution

DataViewExecution

Bases: object

created property writable

Gets the created of this DataViewExecution.

Creation time (automatically set)

Returns:

Type Description
datetime

The created of this DataViewExecution

data_view_id property writable

Gets the data_view_id of this DataViewExecution.

Unique database ID

Returns:

Type Description
str

The data_view_id of this DataViewExecution

data_view_label property writable

Gets the data_view_label of this DataViewExecution.

Returns:

Type Description
str

The data_view_label of this DataViewExecution

expires_on property writable

Gets the expires_on of this DataViewExecution.

Returns:

Type Description
datetime

The expires_on of this DataViewExecution

id property writable

Gets the id of this DataViewExecution.

Unique database ID

Returns:

Type Description
str

The id of this DataViewExecution

modified property writable

Gets the modified of this DataViewExecution.

Last modification time (automatically updated)

Returns:

Type Description
datetime

The modified of this DataViewExecution

project_id property writable

Gets the project_id of this DataViewExecution.

Unique database ID

Returns:

Type Description
str

The project_id of this DataViewExecution

revision property writable

Gets the revision of this DataViewExecution.

An incremental document revision number

Returns:

Type Description
int

The revision of this DataViewExecution

state property writable

Gets the state of this DataViewExecution.

Returns:

Type Description
DataViewExecutionState

The state of this DataViewExecution

storage_file_id property writable

Gets the storage_file_id of this DataViewExecution.

Unique database ID

Returns:

Type Description
str

The storage_file_id of this DataViewExecution

task_id property writable

Gets the task_id of this DataViewExecution.

Hyphen-separated universally unique identifier

Returns:

Type Description
str

The task_id of this DataViewExecution

timestamp_ran property writable

Gets the timestamp_ran of this DataViewExecution.

Returns:

Type Description
datetime

The timestamp_ran of this DataViewExecution

user_id property writable

Gets the user_id of this DataViewExecution.

Database ID of a user

Returns:

Type Description
str

The user_id of this DataViewExecution

__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, created=None, modified=None, timestamp_ran=None, user_id=None, project_id=None, state=None, data_view_label='UNKNOWN', data_view_id=None, storage_file_id=None, task_id=None, expires_on=None, revision=1)

DataViewExecution - a model defined in Swagger

Parameters:

Name Type Description Default
id (str, optional)

Unique database ID, defaults to None

None
created (datetime, optional)

Creation time (automatically set), defaults to None

None
modified (datetime, optional)

Last modification time (automatically updated), defaults to None

None
timestamp_ran (datetime, optional)

, defaults to None

None
user_id (str, optional)

Database ID of a user, defaults to None

None
project_id (str, optional)

Unique database ID, defaults to None

None
state (DataViewExecutionState, optional)

, defaults to None

None
data_view_label (str, optional)

, defaults to 'UNKNOWN'

'UNKNOWN'
data_view_id (str, optional)

Unique database ID, defaults to None

None
storage_file_id (str, optional)

Unique database ID, defaults to None

None
task_id (str, optional)

Hyphen-separated universally unique identifier, defaults to None

None
expires_on (datetime, optional)

, defaults to None

None
revision (int, optional)

An incremental document revision number, defaults to 1

1

__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