utilities
ModuleSource
The extra functionalities used for hooking the original SQLAlchemy
extensions. The
extensions need to be hooked because some extra functionalities may need to be
provided.
Classes
Member | |
---|---|
DBNotReadyError | Exception raised by QueryGetter . |
QueryGetter | The getter of the query property. |
TableNameGetter | The getter of the __tablename__ property. |
Functions
Member | |
---|---|
hook_classmethod | Hook a class method. |
hook_base_model | Add hooks to the given Model class. |
apply_to_engines | Apply a function to one or multiple engines. |
clone_method | A decorator for modifying the static type hint of a method by cloning the signature of another method. |
clone_function | A decorator for modifying the static type hint of a function by cloning the signature of another function. |
get_app_ctx_id | Get the ID of the current Flask app context object. |