Since 0.17.0, the following type seems to be wrongly identified. The code below shows a working example. I'm guessing that inspect.active() just returns a dict.
def example(inspect: celery.app.control.Inspect):
active = inspect.active()
for _, tasks in active.items(): # error: List[Dict[str, Any]]" has no attribute "items" [attr-defined] ## happens here
print(task["type"])
Hi! Thanks for creating celery-types.
Since 0.17.0, the following type seems to be wrongly identified. The code below shows a working example. I'm guessing that
inspect.active()
just returns a dict.