Skip to content

katana_public_api_client.client_types

katana_public_api_client.client_types

Contains some shared types for properties

Classes

File

Contains information for file uploads

Functions
to_tuple()

Return a tuple representation that httpx will accept for multipart/form-data

Source code in katana_public_api_client/client_types.py
def to_tuple(self) -> FileTypes:
    """Return a tuple representation that httpx will accept for multipart/form-data"""
    return self.file_name, self.payload, self.mime_type

Response

A response from an endpoint