mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-01-31 23:51:28 +08:00
🐛 fix config load due to pydantic breaking change
This commit is contained in:
parent
9258bb09b4
commit
1e294b8fbe
@ -19,3 +19,4 @@ class Config(BaseModel):
|
|||||||
|
|
||||||
class Config:
|
class Config:
|
||||||
extra = "ignore"
|
extra = "ignore"
|
||||||
|
allow_population_by_field_name = True
|
||||||
|
@ -17,3 +17,4 @@ class Config(BaseModel):
|
|||||||
|
|
||||||
class Config:
|
class Config:
|
||||||
extra = "ignore"
|
extra = "ignore"
|
||||||
|
allow_population_by_field_name = True
|
||||||
|
@ -20,3 +20,4 @@ class Config(BaseModel):
|
|||||||
|
|
||||||
class Config:
|
class Config:
|
||||||
extra = Extra.ignore
|
extra = Extra.ignore
|
||||||
|
allow_population_by_field_name = True
|
||||||
|
Loading…
x
Reference in New Issue
Block a user