Skip to content

Event decorator

ActionsState

Bases: MyState

Try various types of actions that require authorization.

some_input = '' class-attribute instance-attribute

var_a = 0 class-attribute instance-attribute

async_return() async

async_yield() async

async_yield_multiple() async

background_return() async

background_yield() async

set_some_input(value) async

sync_return()

sync_yield()

sync_yield_with_return()

sync_yield_with_return_no_auth()

AuthState

Bases: MyState

auth_flag = False class-attribute instance-attribute

auth_check(state, *args) async staticmethod

flip_flag() async

report_flag_state() async

with_auth_flag(func) classmethod

ExampleError

Bases: Exception

__init__()

PageState

Bases: MyState

index()