Richard To
Richard To
Yes, this would be a nicer feature to have. My current workaround is to create one attribute for serialization and one for deserialization. Example: ``` # Used during Deserialization foo...
At the moment I do not have a better solutions in mind. But here are some other options I considered. One option is in my register form, I guess I...
I just ran into this problem. Here's my current workaround: ```python from __future__ import annotations from pydantic import BaseModel class ModelAChild(BaseModel): id: int class Config: orm_mode = True class ModelA(ModelAChild):...