flywheel.models.version
Version
Bases: object
applied_checks property writable
Gets the applied_checks of this Version.
Returns:
| Type | Description |
|---|---|
object | The applied_checks of this Version |
applied_fixes property writable
Gets the applied_fixes of this Version.
Collection of applied database fixes
Returns:
| Type | Description |
|---|---|
object | The applied_fixes of this Version |
cli_version property writable
Gets the cli_version of this Version.
Compatible CLI version for this server as informed by the installation recipe.env
Returns:
| Type | Description |
|---|---|
str | The cli_version of this Version |
database property writable
Gets the database of this Version.
Core database version
Returns:
| Type | Description |
|---|---|
int | The database of this Version |
database_target property writable
Gets the database_target of this Version.
Core database target version
Returns:
| Type | Description |
|---|---|
int | The database_target of this Version |
flywheel_release property writable
Gets the flywheel_release of this Version.
Flywheel installer image tag as informed by the installation recipe.env
Returns:
| Type | Description |
|---|---|
str | The flywheel_release of this Version |
id property writable
Gets the id of this Version.
Returns:
| Type | Description |
|---|---|
str | The id of this Version |
release property writable
Gets the release of this Version.
Core release version
Returns:
| Type | Description |
|---|---|
str | The release of this Version |
__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, database=None, database_target=None, release='', flywheel_release='', cli_version='', applied_checks=None, applied_fixes=None)
Version - a model defined in Swagger
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
id | (str, optional) | , defaults to None | None |
database | (int, optional) | Core database version, defaults to None | None |
database_target | (int, optional) | Core database target version, defaults to None | None |
release | (str, optional) | Core release version, defaults to '' | '' |
flywheel_release | (str, optional) | Flywheel installer image tag as informed by the installation recipe.env, defaults to '' | '' |
cli_version | (str, optional) | Compatible CLI version for this server as informed by the installation recipe.env, defaults to '' | '' |
applied_checks | (object, optional) | , defaults to None | None |
applied_fixes | (object, optional) | Collection of applied database fixes, 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