Launchplans do not really need to be tracked as they do not exist during runtime. It should be possible to use launchplans without an LHS reference. But currently this fails, with an error like
def _task_module_from_callable(f: Callable):
mod = inspect.getmodule(f)
mod_name = getattr(mod, "__name__", f.__module__)
> name = f.__name__.split(".")[-1]
E AttributeError: 'LaunchPlan' object has no attribute '__name__'
Expected behavior
Ideally it should be possible to create Launchplan.create and use it inline programmatically
Additional context to reproduce
It should also be possible to use lps in jupyter
Screenshots
No response
Are you sure this issue hasn't been raised already?
There might be a few cases where __name__ attribute is not provided, but ideally all lps should have a human defined name and it is ok to use the tracker in the absence to maintain backwards compatiblity
Describe the bug
Launchplans do not really need to be tracked as they do not exist during runtime. It should be possible to use launchplans without an LHS reference. But currently this fails, with an error like
Expected behavior
Ideally it should be possible to create
Launchplan.create
and use it inline programmaticallyAdditional context to reproduce
It should also be possible to use lps in jupyter
Screenshots
No response
Are you sure this issue hasn't been raised already?
Have you read the Code of Conduct?