Skip to content

Status API get resources filter by capability not allocation units #110

Description

@mbeards-pnnl

The capability filter on /status/resources?capability= is incorrectly set to a list of allocation units. It is meant to be the capability you want to filter the list of resources by.

in app/routers/status/status.py should be
capability: str = Query(default=None, min_length=1, description="Capability id to filter by"),
not
capability: List[AllocationUnit] = Query(default=None, min_length=1),

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions