yera.setup.provider_setup.registry
Find installed provider setup operations and their dependencies.
Symbols
find_dependencies
find_dependencies() → dict[str, bool]Find Python dependencies used by provider setup integrations.
Each import path is inspected without importing the corresponding client module. Dependencies shared by multiple providers appear once in the returned mapping.
Returns
type: dict[str, bool]
Import paths mapped to whether Python can resolve them.
find_provider_setups
find_provider_setups(
dependencies: Mapping[str, bool],
) → tuple[ProviderSetup, ...]Find provider setup operations supported by installed dependencies.
Parameters
dependencies
type: Mapping[str, bool]
Dependency availability returned by
find_dependencies.
Returns
type: ProviderSetup
Provider setup objects whose required dependencies are all available, preserving presentation order.
get_provider_setup
get_provider_setup(
provider_type: str,
) → ProviderSetup | NoneGet the setup operation for a provider integration.
Parameters
provider_type
type: str
Configuration key identifying the provider.
Returns
type: ProviderSetup | None
The provider setup operation, or None when the provider is unknown.