You can import any Python code from any file that is in your Mage project directory.
from [project_name].foo import bar
demo_project
demo_project/ | pipelines/ | utils/ | | helpers/ | | | shared.py | | | __init__.py | | __init__.py
demo_project/utils/helpers/shared.py
from demo_project.utils.helpers import shared
Was this page helpful?