mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-12-27 19:52:44 +00:00
5 lines
147 B
Python
5 lines
147 B
Python
import pydantic
|
|
|
|
pydantic.BaseModel.model_config["coerce_numbers_to_str"] = True
|
|
pydantic.BaseModel.model_config["arbitrary_types_allowed"] = True
|