celery-types icon indicating copy to clipboard operation
celery-types copied to clipboard

mypy: "param_name" to "delay" of "Task" has incompatible type str; expected <nothing>

Open dashdanw opened this issue 1 year ago • 0 comments

Updating from 0.15 to 0.18 (via a bandit bump to 1.7.5) seems to have broken mypy's ability to distinguish task parameters correctly. In lieu of rolling back my celery-types version I was curious if anyone knows a workaround or if I am maybe doing something incorrectly?

mypy version: 0.981

dashdanw avatar Jun 30 '23 15:06 dashdanw