aeat.application.auth._operator_scope module

Settings and active-profile storage scopes for auth operator services.

This module uses Settings to derive the auth operator configuration.

auth_operator_settings_scope(settings)[source]

Yield a Settings for auth-operator probes.

Uses the supplied settings when provided, otherwise loads from the default path.

Return type:

Iterator[Settings]

Parameters:

settings (Settings | None)

active_bucket_id_from_settings(settings)[source]

Resolve the active bucket for settings without falling through to process globals.

Return type:

str | None

Parameters:

settings (Settings)

active_profile_storage_span(settings=None)[source]

Return a storage context for the active profile, or a no-op when absent.

Parameters:

settings (Settings | None)