We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
exclude_none=True
1 parent 7d35024 commit 3e9c7e3Copy full SHA for 3e9c7e3
src/higlass_schema/schema.py
@@ -26,6 +26,12 @@ class BaseModel(PydanticBaseModel):
26
def __rich_repr__(self):
27
return iter(self)
28
29
+ def json(self, exclude_none: bool = True, **kwargs):
30
+ return super().json(exclude_none=exclude_none, **kwargs)
31
+
32
+ def dict(self, exclude_none: bool = True, **kwargs):
33
+ return super().dict(exclude_none=exclude_none, **kwargs)
34
35
def model_dump(self, exclude_none: bool = True, **kwargs):
36
return super().model_dump(exclude_none=exclude_none, **kwargs)
37
0 commit comments