fix(types/router.py): fix arbitrary_types_allowed flag
This commit is contained in:
parent
e5a1050e8d
commit
b984fba73f
@ -25,7 +25,7 @@ def get_model_config(arbitrary_types_allowed: bool = False) -> ConfigDict:
|
||||
else:
|
||||
from pydantic import Extra
|
||||
|
||||
model_config = ConfigDict(extra=Extra.allow) # type: ignore
|
||||
model_config = ConfigDict(extra=Extra.allow, arbitrary_types_allowed=arbitrary_types_allowed) # type: ignore
|
||||
|
||||
return model_config
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user