We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 270d2c1 commit 92d6340Copy full SHA for 92d6340
lib/models/interface.py
@@ -7,6 +7,7 @@
7
class ApiBaseModel(BaseModel, ABC):
8
_id: Optional[ObjectId] = PrivateAttr(default=None)
9
model_config = ConfigDict(
10
+ extra="allow",
11
json_encoders={ObjectId: str},
12
use_enum_values=True,
13
validate_default=True,
0 commit comments