webknossos.client.generated.client
A class for keeping track of data related to the API
#  
Client(
base_url: str,
*,
cookies: Dict[str, str] = NOTHING,
headers: Dict[str, str] = NOTHING,
timeout: float = 5.0
)
Method generated by attrs for class Client.
Get headers to be used in all endpoints
#  
def
with_headers(
self,
headers: Dict[str, str]
) -> webknossos.client.generated.client.Client:
Get a new client matching this one with additional headers
Get a new client matching this one with a new timeout (in seconds)
A Client which has been authenticated for use on secured endpoints
#  
AuthenticatedClient(
base_url: str,
token: str,
*,
cookies: Dict[str, str] = NOTHING,
headers: Dict[str, str] = NOTHING,
timeout: float = 5.0
)
Method generated by attrs for class AuthenticatedClient.
Get headers to be used in authenticated endpoints