Skip to content

Commit

Permalink
Add context to docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
ross-spencer committed Dec 3, 2024
1 parent dbc3fd4 commit af7e2ed
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/itn_api/reports.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,13 @@ async def get_date_ranges(app: FastAPI):


async def get_locations(app: FastAPI) -> list:
"""Return locations from the database."""
"""Return locations from the database.
Select one of each kind example:
* https://stackoverflow.com/a/571487
"""
try:
unique_raw_data = app.state.connection.execute(
"select min(node_id), raw_data from data_points group by node_id;"
Expand Down

0 comments on commit af7e2ed

Please sign in to comment.