[Housekeeping] Task resolver is not aware of the module when executed as top-level code environment. #1813
Closed
2 tasks done
Labels
Epic: Interactive Experience
Everything from FlyteRemote to how to better support Jupyter/vscode development with Flyte
flytekit
FlyteKit Python related issue
housekeeping
Issues that help maintain flyte and keep it tech-debt free
Milestone
Describe the issue
Trying to use a self contained file to register the tasks results in following error. If the file is executed with the top-level environment there needs to be a way to make the workflows and tasks aware of the module they are defined in:
Further discussion about this issue can be found here
What if we do not do this?
No effect in standard workflows for now. But we have proposed such a solution for defining and registering the workflows, tasks in the same file. The following solution can be implemented with a module aware remote or resolver object:
Related component(s)
flytekit.remote
,fllytekit.core
Are you sure this issue hasn't been raised already?
Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: