Skip to content

Commit

Permalink
Merge pull request #22 from anthonymckale-6point6/master
Browse files Browse the repository at this point in the history
#21 fix for Field issue, lte = le and gte = ge
  • Loading branch information
folt authored Apr 10, 2023
2 parents 3ec1e30 + 4122aec commit 08a9ec5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pydantic_geojson/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,17 @@
Union[float, int],
Field(
title='Coordinate longitude',
gte=-180,
lte=180,
ge=-180,
le=180,
),
]

LatField = Annotated[
Union[float, int],
Field(
title='Coordinate latitude',
gte=-90,
lte=90,
ge=-90,
le=90,
),
]

Expand Down

0 comments on commit 08a9ec5

Please sign in to comment.