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:
parent
16e2a146db
commit
399afe56c8
@ -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."""
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user