Skip to content

types

RequestConfig

Bases: TypedDict

A custom dict type for keyword arguments configuring OpenAPI requests made with the lakeFS SDK.

Source code in src/lakefs_spec/types.py
class RequestConfig(TypedDict, total=False):
    """A custom dict type for keyword arguments configuring OpenAPI requests
    made with the lakeFS SDK."""

    headers: dict[str, Any]
    content_type: str
    request_auth: str
    request_timeout: int | tuple[int, int]
    preload_content: bool
    return_http_data_only: bool