You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
defexample(inspect: celery.app.control.Inspect):
active=inspect.active()
for_, tasksinactive.items(): # error: List[Dict[str, Any]]" has no attribute "items" [attr-defined] ## happens hereprint(task["type"])
The text was updated successfully, but these errors were encountered:
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.The text was updated successfully, but these errors were encountered: