Skip to content

Refactor hydroviz API endpoint & dependent CONUS hydrology endpoints avoid repeated get_features(stream_id) calls #716

@cstephen

Description

@cstephen

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions