1
0
mirror of https://gitlab.com/MoonTestUse1/AdministrationItDepartmens.git synced 2025-08-14 00:25:46 +02:00

Проверка 09.02.2025

This commit is contained in:
MoonTestUse1
2025-02-09 01:11:49 +06:00
parent ce52f8a23a
commit 0aa3ef8fc2
5827 changed files with 14316 additions and 1906434 deletions

View File

@@ -786,7 +786,6 @@ class BaseModel(metaclass=_model_construction.ModelMetaclass):
) # use dict as ordered set
with _generics.generic_recursion_self_type(origin, args) as maybe_self_type:
# Check cached first otherwise `mro` may return `PydanticRecursiveRef`
cached = _generics.get_cached_generic_type_late(cls, typevar_values, origin, args)
if cached is not None:
return cached