RegistryApiDependency#
- class kafkit.fastapi.dependencies.registryapi.RegistryApiDependency#
Bases:
object
A FastAPI dependency that provides a Kafkit RegistryApi client.
Methods Summary
__call__
()Get the dependency (call during FastAPI request handling).
initialize
(*, http_client, registry_url)Initialize the dependency (call during FastAPI startup).
Methods Documentation
- async __call__()#
Get the dependency (call during FastAPI request handling).
- Return type: