Stateful

class Expiring(*args, **kwargs)[source]
ATTRS = ('last_update',)
CHANGING_ATTRS = ()
DAY = 86400
EXPIRE_TIME = 3600
HOUR = 3600
MINUTE = 60
last_update
Return type

datetime

class Stateful(req, *, data=None)[source]
ATTRS = ()
INCLUDE_CLS = False
classmethod deserialise_special(key, value)[source]
Return type

Any

dirty
Return type

bool

classmethod from_state(state)[source]
Return type

Stateful

classmethod get_qualcls()[source]
Return type

str

load_data(data)[source]
coroutine preload_attrs(self, *attrs, recursive=False)[source]
Return type

List[Any]

qualcls
Return type

str

serialise_special(key, value)[source]
Return type

~BsonType

state
Return type

Dict[str, ~BsonType]

check_container_bson(data)[source]
Return type

bool