Skip to content

Commit

Permalink
add deprecation warning (#333)
Browse files Browse the repository at this point in the history
  • Loading branch information
russbiggs authored Feb 10, 2024
1 parent 68737f8 commit c1a4de9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions openaq_api/openaq_api/v3/routers/measurements.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,13 @@ class LocationMeasurementsQueries(
DateToQuery,
MeasurementsParametersQuery,
PeriodNameQuery,
):
...
): ...


@router.get(
"/locations/{locations_id}/measurements",
response_model=MeasurementsResponse,
summary="Get measurements by location",
summary="Get measurements by location (DEPRECATING - will be removed in future releases)",
description="Provides a list of measurements by location ID",
)
async def measurements_get(
Expand Down

0 comments on commit c1a4de9

Please sign in to comment.