Nelson Griffiths
07/08/2024, 3:54 PMCan't get attribute 'Document' on <module 'prefect.engine' from '/app/.venv/lib/python3.11/site-packages/prefect/engine.py'>
This runs fine in prefect locally but not once deployed with a docker image. I am importing the Document
class at the top of my file containing the flow. Any ideas why this might be happening?Nate
07/08/2024, 4:13 PMprefect.engine
?
can you show your import? im wondering if there is some namespace conflictNelson Griffiths
07/08/2024, 4:14 PMfrom my_private_library.tools.namespace import Document
Nate
07/08/2024, 5:24 PMNate
07/08/2024, 5:24 PMNelson Griffiths
07/08/2024, 5:31 PMNelson Griffiths
07/10/2024, 1:22 PM