Say I have model
class UserDB(BaseModel):
first_name: Optional[str] = None
last_name: Optional[str] = None
How do I make another model that is constructed from this one and has a field that changes based on the fields in this model?
For instance, something like this
class User(BaseModel):
full_name: str = first_name + ' ' + last_name
Constructed like this maybe
User.parse_obj(UserDB)
Thanks!