Skip to content

Commit 691435c

Browse files
author
Paul Duncan
committed
Accommodate lower Python versions using 'Optional'
1 parent 2490d7c commit 691435c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

predicthq/endpoints/v1/beam/schemas.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ class GeoJsonGeometry(BaseModel):
162162

163163
class GeoJson(BaseModel):
164164
type: Literal["Feature"]
165-
properties: GeoJsonProperties | None = None
165+
properties: Optional[GeoJsonProperties] = None
166166
geometry: GeoJsonGeometry
167167

168168

0 commit comments

Comments
 (0)