Summary
The user is developing a pipeline register using FlyteRemote.register_workflow()
and is facing a ModuleNotFoundError
linked to an __init__.py
file in the flyte_playground
directory. Removing the __init__.py
file resolves the error but prevents necessary project code from being imported. The user provides their directory structure and workflow registration code, noting that with the __init__.py
, the workflow registers correctly but fails to run, while without it, the workflow runs successfully but registers differently. They attempted to adjust the directory structure and the root in remote.fast_package
but continued to encounter issues. The user was advised against adding an __init__.py
to the parent directory and was asked to untar the fast registration package to clarify the parent directory structure. They confirmed that the parent directory is flyte_playground
and mentioned that the remote execution file is missing after moving it one level up. The user discussed the implications of setting the root directory, potential packaging of unwanted content, and the need for a .flyteignore
file to exclude certain files from serialization. They seek clarification on the necessity of the __init__.py
file in the root directory and inquired about documentation for .flyteignore
.