YV
Size: a a a
YV
IS
YV
YV
IS
IS
IS
YV
V
V
DA
A
DA
V
DA
RD
A
RD
DS
pydantic схему, аля Enum класс, из словаря с таблицами БД?class Tables(str, Enum):все игнорит
def __init__(self):
for i, x in models.Base.metadata.tables.items():
self.i = x
# Так выглдяит типичная схема:
class AllowedFileTypes(str, Enum):
type_1: str = "PNG"
type_2: str = "JPEG"
Swagger
A