populate by name
This commit is contained in:
parent
c778cb3ade
commit
7767af73a7
|
|
@ -4,6 +4,7 @@ from pydantic.alias_generators import to_camel
|
|||
|
||||
|
||||
class BaseConfig:
|
||||
populate_by_name = True
|
||||
alias_generator = to_camel
|
||||
json_encoders = {UUID: str}
|
||||
arbitrary_types_allowed = True
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user