File "/usr/local/lib/python3.9/site-packages/flytekit/core/tracker.py", line 229, in extract_task_module
name = f.lhs
File "/usr/local/lib/python3.9/site-packages/flytekit/core/tracker.py", line 70, in lhs
return self.find_lhs()
File "/usr/local/lib/python3.9/site-packages/flytekit/core/tracker.py", line 96, in find_lhs
raise _system_exceptions.FlyteSystemException(f"Error looking for LHS in {self._instantiated_in}")
Message:
Error looking for LHS in __main__
g
glamorous-carpet-83516
06/06/2023, 7:44 PM
I think it’s possible, might need some changes in flytekit.
why don’t import task directly, like
Copy code
from relative_mod import input_func
n
numerous-hamburger-7178
06/06/2023, 8:07 PM
bc the task is a user import so I wouldn't know what it is until it runs
g
glamorous-carpet-83516
06/06/2023, 8:25 PM
ohh, I see, module name will be the task input. mind create an issue here, I think we need make some small changes in flytekit. [flyte-bug]