Skip to content

Clients using retryhttp 1.3.0 along with mypy produce errors #20

@amoghrajesh

Description

@amoghrajesh

Issue

retryhttp 1.3.0 was released today and when used with clients along with mypy, errors are produced in mypy.
Example:

providers/edge/src/airflow/providers/edge/cli/api_client.py:66: error: Never
not callable  [misc]
    @retry(
     ^

Example failure can be found here: https://github.com/apache/airflow/actions/runs/13148605736/job/36692383263

More info:

Expected action

  • Kindly fix the issue so that mypy can work well with our repo and potentially other repos running into same issue
  • Do reach out if you need assistance in testing

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions