@@ -78,7 +78,7 @@ class SQLAlchemyProxy(Generic[_SQLAlchemyLiteDB_co, _ModelLite_co]):
7878 `flask_sqlalchemy_lite.SQLAlchemy`, it can mimic the usage of
7979 `flask_sqlalchemy.SQLAlchemy`.
8080
81- Note that not all the functionalities of `flask_sqlalchemy_lite.SQLAlchemy` can
81+ Note that not all the functionalities of this proxy can
8282 be exactly the same as the those of `flask_sqlalchemy.SQLAlchemy`. In specific,
8383 this proxy will do the following things:
8484
@@ -138,14 +138,16 @@ def __init__(
138138
139139 @property
140140 def db (self ) -> _SQLAlchemyLiteDB_co :
141- """Property: The `db` instance provided by the Flask SQLAlchemy extension."""
141+ """Property: The `db` instance provided by the Flask SQLAlchemy Lite
142+ extension."""
142143 return self .__db
143144
144145 @property
145146 def Model (self ) -> Type [_ModelLite_co ]:
146147 """Property: The `Model` type. It can be used as the base class of the
147- SQLAlchemy models. This value is `model_class` passed to the initialization
148- of this wrapper.
148+ SQLAlchemy models. This value is identical to `model_class` passed to the
149+ initialization of this wrapper. But note that `model_class` is already
150+ modified for supporting extra functionalities.
149151 """
150152 return self .__model_class
151153
@@ -192,7 +194,7 @@ def Query(self) -> Type[sa_orm.Query]:
192194
193195 @property
194196 def session (self ) -> sa_orm .scoped_session [sa_orm .Session ]:
195- """The same as `self.db.session`.
197+ """The usages are similar to those of `self.db.session`.
196198
197199 The default session for the current application context. It will be
198200 closed when the context ends."""
0 commit comments