Package multivac :: Class StatusHistory
[hide private]
[frames] | no frames]

Class StatusHistory

source code


Mapping class for the table «status_history».

Instance Methods [hide private]
int
id(self)
Read only accessor to prevent setting this field.
source code
int
element_id(self)
Read only accessor to prevent setting this field.
source code
Element
element(self)
The related Element of this instance.
source code
datetime
timestamp(self)
Read only accessor to prevent setting this field.
source code
str
status(self)
The status of this instance
source code
str
__repr__(self)
Returns a printable representation of this instance.
source code
str
__str__(self)
Coerces this instance to a string.
source code

Inherited from ORM_Base: __init__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

id(self)

source code 

Read only accessor to prevent setting this field.

Returns: int
Surrogate primary key
Decorators:
  • @hybrid_property

element_id(self)

source code 

Read only accessor to prevent setting this field.

Returns: int
Surrogate primary key
Decorators:
  • @hybrid_property

element(self)

source code 

The related Element of this instance.

Returns: Element
The related Element
Decorators:
  • @hybrid_property

timestamp(self)

source code 

Read only accessor to prevent setting this field.

Returns: datetime
The time this status was updated.
Decorators:
  • @hybrid_property

status(self)

source code 

The status of this instance

Returns: str
status
Decorators:
  • @hybrid_property

__repr__(self)
(Representation operator)

source code 

Returns a printable representation of this instance.

Returns: str
A descriptive string containing most of this instance fields
Overrides: object.__repr__

__str__(self)
(Informal representation operator)

source code 

Coerces this instance to a string.

Returns: str
The status field
Overrides: object.__str__