How do I get Prefect to find a Class from another file? Getting a ModuleNotFound error. #15229
Replies: 1 comment 2 replies
-
I ended up needing to import the absolute path:
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am on Prefect
v2.17.1
and when trying to run a file that imports aClass
from a different file in the same directory, I am getting an error:Here is the file structure:
In the
actuals.py
file, I am trying to import it like so:but I am getting that error. This is how I am creating the flow; I'm just importing the functions that need to run:
Beta Was this translation helpful? Give feedback.
All reactions