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

Constructor

Async client for Valkyrie API resources.

Parameters

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

Returns

ValkyrieClient

from_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

ValkyrieClient

close

Close the underlying HTTP connection pool.

Returns

None

Async context manager

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