redun icon indicating copy to clipboard operation
redun copied to clipboard

Suggestion: Provide a suitable, default `namespace` for each task

Open Andrew-S-Rosen opened this issue 2 years ago • 0 comments

I see the warning that in the future, the redun_namespace variable will need to be set on the module-level and/or the namespace provided in the @task. Personally, I would like to make an alternate suggestion: make the default namespace for each task be task.func.__module__. The combination of the __module__ in the namespace and the __name__ in the name will yield a unique identifier in virtually all practical cases.

Andrew-S-Rosen avatar Jan 07 '24 18:01 Andrew-S-Rosen