ValkyrieClient owns the async HTTP connection pool and exposes the public resource namespaces.
Constructor
Async client for Valkyrie API resources.Parameters
required ·
ValkyrieConfigoptional · str | None · default:
optional · float | httpx.Timeout · default:
optional · httpx.AsyncBaseTransport | None · default:
Returns
ValkyrieClientfrom_config
Load a client from a CLI-compatible YAML config.Parameters
optional · str | Path · default:
optional · str | None · default:
optional · float | httpx.Timeout · default:
optional · httpx.AsyncBaseTransport | None · default:
Returns
ValkyrieClientclose
Close the underlying HTTP connection pool.Returns
NoneAsync context manager
The client closes its connection pool when anasync with block exits.