添加注册登录功能

This commit is contained in:
2025-08-29 00:34:40 +08:00
parent 09065f2ce7
commit 2fe3474d9e
3060 changed files with 29217 additions and 87137 deletions

View File

@@ -512,6 +512,9 @@ def declarative_mixin(cls: Type[_T]) -> Type[_T]:
.. versionadded:: 1.4.6
.. legacy:: This api is considered legacy and will be deprecated in the next
SQLAlchemy version.
.. seealso::
:ref:`orm_mixins_toplevel`
@@ -1244,7 +1247,7 @@ class registry:
search = (
(python_type, python_type_type),
*((lt, python_type_type) for lt in LITERAL_TYPES), # type: ignore[arg-type] # noqa: E501
*((lt, python_type_type) for lt in LITERAL_TYPES),
)
else:
python_type_type = python_type.__origin__