Copilot pointed this out while reviewing PR #715. Because the new hydroviz endpoint calls two other endpoints, it's performing multiple get_features(stream_id) calls when only one would suffice. Fixing this requires code refactoring throughout multiple functions/endpoints, and the careful testing that goes with it, so I'm ticketing this for future consideration.
Copilot pointed this out while reviewing PR #715. Because the new hydroviz endpoint calls two other endpoints, it's performing multiple
get_features(stream_id)calls when only one would suffice. Fixing this requires code refactoring throughout multiple functions/endpoints, and the careful testing that goes with it, so I'm ticketing this for future consideration.