yera.setup.provider_setup.registry

Find installed provider setup operations and their dependencies.

Symbols

def find_dependencies — Find Python dependencies used by provider setup integrations.
def find_provider_setups — Find provider setup operations supported by installed dependencies.

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.