Skip to main content
Pass options as keyword arguments, or as a single dict.

Options

The SDK always sends Accept: application/json and Content-Type: application/json unless you override them in headers.
Pass a dict or keyword arguments. The ReyGridConfig dataclass is exported, but the ReyGrid constructor does not accept an instance of it.

Custom base URL

Custom httpx client

If you supply httpx_client or httpx_async_client, the SDK uses it as-is. Headers and timeout from the SDK options are only applied to clients the SDK creates itself, so set the Authorization header on your own client.

Cleanup

ReyGrid also works as a context manager (with and async with).