Skip to main content

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

MemberType
Description
ModelProtocolProtocolProtocol compatible with flask_sqlalchemy.extensions._FSAModel.
SQLAlchemySharedProtocolProtocolProtocol compatible with both Flask SQLAlchemy and Flask SQLAlchemy Lite.
SQLAlchemyLiteProtocolProtocolProtocol compatible with Flask SQLAlchemy Lite.
SQLAlchemyProtocolProtocolProtocol compatible with Flask SQLAlchemy.