shyft.dashboard.time_series.bindable
Classes
|
This object presents the Base of any Bindable object which can stay in a view/presenter hierarchical relationship to another object (parent) |
|
This object presents the Base of a bindable object which can stay in a hierarchical relationship to several objects (parents) |
Exceptions
- class shyft.dashboard.time_series.bindable.Bindable[source]
Bases:
object
This object presents the Base of any Bindable object which can stay in a view/presenter hierarchical relationship to another object (parent)
- on_bind(*, parent: Any) None [source]
This function is called after parent obj is bound, it can be used by SubClasses for additional tasks on bind
- on_unbind(*, parent: Any) None [source]
This function is called before parent obj is unbound, it can be used by SubClasses for additional tasks on unbind
- property bound
This Property returns wether the object is bound or not
- class shyft.dashboard.time_series.bindable.BindableToMany(*, parent_limit=None)[source]
Bases:
object
This object presents the Base of a bindable object which can stay in a hierarchical relationship to several objects (parents)
- __init__(*, parent_limit=None)[source]
Bindable base class which is bindable to a certain amount of parents
- Parameters:
parent_limit (int number of max parents)
- on_bind(*, parent: Any) None [source]
This function is called after parent obj is bound, it can be used by SubClasses for additional tasks on bind
- on_unbind(*, parent: Any) None [source]
This function is called after parent obj is unbound, it can be used by SubClasses for additional tasks on bind
- property bound
This Property returns wether the object is bound or not