Skip to content
This repository has been archived by the owner on Oct 18, 2023. It is now read-only.

Commit

Permalink
fixing the tests with fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
vggonzal authored and vggonzal committed Aug 18, 2023
1 parent 2b52723 commit a3ac813
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hydrocronapi/controllers/db/db_local.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,11 @@ def get_reach_series_by_feature_id(feature_id: str, start_time: datetime, end_ti
items = hydrocron_reach_table.query(KeyConditionExpression=Key('reach_id').eq(feature_id))
data = {}
print(items)
for k, v in items.items():
print("---")
for k, v in items['Items'][0].items():
data[k] = {'S': str(v)}
print(data)
print("---")
return data


Expand Down

0 comments on commit a3ac813

Please sign in to comment.