Added the initial values for the database instance, the user class and the user primary key column, to allow the Sphinx documentation system to work properly.
This commit is contained in:
@ -25,7 +25,7 @@ time.
|
||||
|
||||
from flask_sqlalchemy import SQLAlchemy
|
||||
|
||||
db: SQLAlchemy
|
||||
db: SQLAlchemy = SQLAlchemy()
|
||||
"""The database instance."""
|
||||
|
||||
|
||||
|
@ -72,9 +72,9 @@ class AbstractUserUtils(t.Generic[T], ABC):
|
||||
|
||||
__user_utils: AbstractUserUtils
|
||||
"""The user utilities."""
|
||||
user_cls: t.Type[Model]
|
||||
user_cls: t.Type[Model] = Model
|
||||
"""The user class."""
|
||||
user_pk_column: sa.Column
|
||||
user_pk_column: sa.Column = sa.Column(sa.Integer)
|
||||
"""The primary key column of the user class."""
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user