model_values
model_values(
model: DascoreBaseModel ,
)-> ‘dict[str, Any]’
Return a model’s fields and extras, as the objects they are.
Not model_dump: a dump turns a nested model into a plain mapping, losing which class it was, and its json mode adds a key which is not a field.