atoti.pyapi package

Submodules

atoti.pyapi.http_request module

Info of an HTTP request.

class atoti.pyapi.http_request.HttpRequest(url, body)

Bases: object

Info of an HTTP request.

url

URL the client used to make the request.

body

Parsed JSON body of the request.

body: Any = None
url: str = None

atoti.pyapi.user module

Info of a user calling a custom HTTP endpoint.

class atoti.pyapi.user.User(name, roles)

Bases: object

Info of a user calling a custom HTTP endpoint.

name

Name of the user calling the endpoint.

roles

Roles of the user calling the endpoint.

name: str = None
roles: Collection[str] = None

Module contents

Utils for session endpoints defined in Python.