Daniel Sääf
05/18/2022, 12:32 PM>>> result = leonardo_dicaprio("leo")
However, when i try to create the deployment i get a:
ImportError: cannot import name 'hello_world' from 'test' (/usr/local/Cellar/python@3.10/3.10.4/Frameworks/Python.framework/Versions/3.10/lib/python3.10/test/__init__.py)
So basically, my question is: how do i import functions from local python-files in a flow?
(Let me know if this isn’t the right place for this type of questions!)Anna Geller
05/18/2022, 12:38 PMDaniel Sääf
05/18/2022, 12:49 PMPYTHONPATH='.' prefect deployment create leo_deployment.py