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:
imacat committed 2023-02-07 11:40:48 +08:00
1 parent 16e2a146db
commit 399afe56c8
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -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."""