Skip to main content

fakts.fakts_endpoint_fetcher

FaktsUserFetcher Objects​

class FaktsUserFetcher(BaseModel)

The endpoint to fetch the user from

fakts_key​

An ssl context to use for the connection to the endpoint

afetch_user​

async def afetch_user(token: Token) -> BaseModel

Fetches the user from the endpoint

Parameters​

token : Token The token to use for the request

Returns​

BaseModel The userModel filled with the data from the endpoint

Config Objects​

class Config()

pydantic config