Skip to content

Better error message when parameter is missing when calling query_range API #3699

Closed
@alvinlin123

Description

@alvinlin123

Currently if I forget to give the step and only give start and end parameters when calling query_range, I get the following error message:

cannot parse "" to a valid duration

It took me a while to find out that step is required. It would had be nice the error message mentions about the step parameter.

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