scistag.datastag.data_stag_element.DataStagElement¶
- class DataStagElement(vault)[source]¶
Bases:
objectRoot class of a single database element
Initializer
- Parameters
vault – The vault in which the element is stored
Methods
Returns the element's data
Sets the element's new value
Attributes
__dict____doc____module____weakref__list of weak references to the object (if defined)
The parent element (e.g.
Time when this element shall be destroyed
The element's update counter
- set_value(value, deprecation_time=None)[source]¶
Sets the element’s new value
- Parameters
value (StagDataTypes) – The value
deprecation_time (float | None) – The deprecation server time
- parent: DataStagElement | None¶
The parent element (e.g. a list containing the element)