Skip to content

Python API: new crash_limit values #962

@lahwaacz

Description

@lahwaacz

HyperQueue 0.23.0 added new special values unlimited and never-restart for the --crash-limit CLI option, but in the Python API the crash_limit parameter is still annotated as Optional[int]:

https://it4innovations.github.io/hyperqueue/stable/python/apidoc/hyperqueue.job.Job.html#f_function

I did not try if the new values work if passed from Python but at least the type annotation should be updated.

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