Skip to main content
ValkyrieClient owns the async HTTP connection pool and exposes the public resource namespaces.

Constructor

Async client for Valkyrie API resources; without a config it uses ValkyrieConfig().
Signature

Parameters

optional · ValkyrieConfig | None · default:
optional · float | httpx.Timeout · default:
optional · httpx.AsyncBaseTransport | None · default:

Returns

ValkyrieClient

close

Close the underlying HTTP connection pool.
Signature

Returns

None

Async context manager

The client closes its connection pool when an async with block exits.