betty.app.factory module¶ Functionality for creating new instances of types that depend on betty.app.App. class betty.app.factory.AppDependentFactory[source]¶ Bases: ABC Allow this type to be instantiated using a betty.app.App. abstractmethod async classmethod new_for_app(app: App) → Self[source]¶ Create a new instance using the given app.