Skip to content

Commit

Permalink
Started editing endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
Teddy-1000 committed Jan 18, 2024
1 parent 6c42e24 commit 9b6c250
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ async def get_data_area(
coords: str = Query(..., example="POLYGON((5.0 52.0, 6.0 52.0,6.0 52.1,5.0 52.1, 5.0 52.0))"),
parameter_name: str = Query(..., alias="parameter-name", example="dd,ff,rh,pp,tn"),
datetime: str | None = None,
f: str = Query(default="covjson", alias="file", example="covjson")
f: str = Query(default="covjson", alias="f", description="Specify return format.")
):
poly = wkt.loads(coords)
assert poly.geom_type == "Polygon"
Expand Down

0 comments on commit 9b6c250

Please sign in to comment.