fix(aurora): fixed another pydantic error
This commit is contained in:
parent
6a7758e8f9
commit
a22de1d2c2
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ from aurora.utilities.utils import generate_dict
|
||||||
|
|
||||||
class AuroraBaseModel(BaseModel):
|
class AuroraBaseModel(BaseModel):
|
||||||
"""Base class for all models in Aurora."""
|
"""Base class for all models in Aurora."""
|
||||||
model_config = ConfigDict(ignored_types=(Red,))
|
model_config = ConfigDict(ignored_types=(Red,), arbitrary_types_allowed=True)
|
||||||
bot: Red
|
bot: Red
|
||||||
|
|
||||||
def to_json(self, indent: int = None, file: Any = None, **kwargs):
|
def to_json(self, indent: int = None, file: Any = None, **kwargs):
|
||||||
|
|
Loading…
Reference in a new issue