webknossos.client.generated.types
Contains some shared types for properties
Contains information for file uploads
#  
File(
payload: Union[BinaryIO, TextIO],
file_name: Union[str, NoneType] = None,
mime_type: Union[str, NoneType] = None
)
Method generated by attrs for class File.
#  
def
to_tuple(
self
) -> Tuple[Union[str, NoneType], Union[BinaryIO, TextIO], Union[str, NoneType]]:
Return a tuple representation that httpx will accept for multipart/form-data
A response from an endpoint
#  
Response(
status_code: int,
content: bytes,
headers: MutableMapping[str, str],
parsed: Union[~T, NoneType]
)
Method generated by attrs for class Response.
#  
FileJsonType = typing.Tuple[typing.Union[str, NoneType], typing.Union[typing.BinaryIO, typing.TextIO], typing.Union[str, NoneType]]