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 8fa6c31 commit 7056670Copy full SHA for 7056670
geojson_pydantic/base.py
@@ -52,6 +52,8 @@ def validate_bbox(cls, bbox: Optional[BBox]) -> Optional[BBox]:
52
53
return bbox
54
55
+ # This return is untyped due to a workaround until this issue is resolved:
56
+ # https://github.com/tiangolo/fastapi/discussions/10661
57
@model_serializer(when_used="always", mode="wrap")
58
def clean_model(self, serializer: Any, info: SerializationInfo): # type: ignore [no-untyped-def]
59
"""Custom Model serializer to match the GeoJSON specification.
0 commit comments