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
Currently Task has two "namey" attributes, .name which is either None or the explicitly-given name (e.g. @task(name='foo')), and __name__ which copies self.body.__name__ (so typically the name of a wrapped function.)
However, most code, and certainly the natural feeling API, is to always look at task_obj.name - which as above is going to be None a lot of the time if not explicitly given.
Switch it to a property that falls back to __name__ when name is not set.
The text was updated successfully, but these errors were encountered: