Skip to content

Commit

Permalink
Add doc to location_complete route about instability
Browse files Browse the repository at this point in the history
Signed-off-by: Aaron Chong <[email protected]>
  • Loading branch information
aaronchongth committed May 28, 2024
1 parent e45452d commit deca732
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/api-server/api_server/routes/tasks/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,10 @@ async def location_complete(
success: bool,
logger: LoggerAdapter = Depends(get_logger),
):
"""
Warning: This endpoint is still actively being worked on and could be
subjected to modifications.
"""
alerts = await get_alerts_of_task(task_id=task_id, unresponded=True)
if len(alerts) == 0:
raise HTTPException(
Expand Down

0 comments on commit deca732

Please sign in to comment.