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 218c591 commit 8fa6c31Copy full SHA for 8fa6c31
geojson_pydantic/base.py
@@ -53,7 +53,7 @@ def validate_bbox(cls, bbox: Optional[BBox]) -> Optional[BBox]:
53
return bbox
54
55
@model_serializer(when_used="always", mode="wrap")
56
- def clean_model(self, serializer: Any, info: SerializationInfo) -> Any:
+ def clean_model(self, serializer: Any, info: SerializationInfo): # type: ignore [no-untyped-def]
57
"""Custom Model serializer to match the GeoJSON specification.
58
59
Used to remove fields which are optional but cannot be null values.
0 commit comments