DiscoveryDependency#
- class rubin.repertoire.DiscoveryDependency#
Bases:
object
Maintain a global Repertoire client for service discovery.
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__
(http_client)Call self as a function.
Methods Documentation
- async __call__(http_client)#
Call self as a function.
- Parameters:
http_client (
AsyncClient
)- Return type: