protocols
ModuleSource
The customized protocol type hints used by this package. These protocols can be used
to notate the extension like flask_sqlalchemy.SQLAlchemy
or the customized class
flask_sqlalchemy.model.Model
without actually importing the package.
Typehints
Member | Type | |
---|---|---|
ModelProtocol | Protocol | Protocol compatible with flask_sqlalchemy.extensions._FSAModel . |
SQLAlchemySharedProtocol | Protocol | Protocol compatible with both Flask SQLAlchemy and Flask SQLAlchemy Lite. |
SQLAlchemyLiteProtocol | Protocol | Protocol compatible with Flask SQLAlchemy Lite. |
SQLAlchemyProtocol | Protocol | Protocol compatible with Flask SQLAlchemy. |