States interacting with each other
logger = logging.getLogger(__name__)
module-attribute
SomeState
Bases: MyState
a = 0
class-attribute
instance-attribute
var_with_update = VarWithUpdate()
class-attribute
instance-attribute
expect_expire()
async
increment()
async
increment_background()
async
increment_via_update()
async
increment_via_update_background()
async
update_with_controller()
async
update_with_controller_with_self()
async
update_with_get_state()
async
StateWithUpdate
Bases: HasUpdatableVars, State
s_b = 0
class-attribute
instance-attribute
s_c = 0
class-attribute
instance-attribute
some_list = []
class-attribute
instance-attribute
update(update)
async
UpdateB
dataclass
Bases: Update
UpdateC
dataclass
Bases: Update
VarWithUpdate
Bases: HasUpdatableVars