GafaelfawrDependency#
- class rubin.gafaelfawr.GafaelfawrDependency#
Bases:
objectMaintain a global Gafaelfawr client.
This is structured as a dependency that creates and caches the client on first use to delay client creation until runtime so that the test suite has a chance to initialize environment variables.
Methods Summary
__call__(discovery, http_client)Call self as a function.
Methods Documentation
- async __call__(discovery, http_client)#
Call self as a function.
- Parameters:
discovery (
DiscoveryClient)http_client (
AsyncClient)
- Return type: