Skip to content

Use Annotated[...] consistently instead of Field(...) as a default value #6630

Description

@suhaibmujahid

libs/hackbot-runtime/hackbot_runtime/actions/testrail.py uses field: list[X] = Field(min_length=1, ...) in a couple of places, which is inconsistent with the Annotated[X, Field(...)] style used everywhere else in that file and in the sibling action modules. Fix the outliers to match.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Fields

    Priority

    Low

    Effort

    Low

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions