tempo.magic module

class tempo.magic.PayloadContext(*, request_id: str = None, request_headers: dict = None, request: dict = None, response_headers: dict = None)

Bases: pydantic.main.BaseModel

request: Optional[dict]
request_headers: Optional[dict]
request_id: Optional[str]
response_headers: Optional[dict]
class tempo.magic.TempoContextWrapper(payload_context, insights_worker, state)

Bases: object

class tempo.magic.classproperty(f)

Bases: object

Class function decorator for static class methods to behave like properties, but limited to only getter

class tempo.magic.t

Bases: object

context = None
insights

Class function decorator for static class methods to behave like properties, but limited to only getter

payload

Class function decorator for static class methods to behave like properties, but limited to only getter

state

Class function decorator for static class methods to behave like properties, but limited to only getter