ooai_persistence.bootstrapΒΆ

Bootstrap helpers for persistence resources.

Functions

maybe_async_setup(resource, *, enabled)

Run setup on an async resource when available and enabled.

maybe_setup(resource, *, enabled)

Run setup on a sync resource when available and enabled.

should_setup_for_resource(settings, resource)

Return whether a specific resource should run setup automatically.