mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-12-28 12:07:11 +00:00
6 lines
198 B
Python
6 lines
198 B
Python
|
import pydantic
|
||
|
|
||
|
pydantic.BaseModel.model_config["extra"] = "allow"
|
||
|
pydantic.BaseModel.model_config["coerce_numbers_to_str"] = True
|
||
|
pydantic.BaseModel.model_config["arbitrary_types_allowed"] = True
|