Hey guys i'm randomly getting: > Failed to loa...
# prefect-community
Hey guys i'm randomly getting:
Failed to load and execute Flow's environment: StorageError('An error occurred while unpickling the flow:\n ImportError("cannot import name \'MyService\' from partially initialized module \'myflows.services.myservice\' (most likely due to a circular import) (/app/src/myflows/services/myservices.py)")\nThis may be due to a missing Python module in your current environment. Please ensure you have all required flow dependencies installed.')
This is happening randomly the same flow with same args can work without any issue. There a way to debug this i'm using S3 storage
Hi, if you are getting a circular imports error, that should be fixable with some code refactoring. This happens when you modules that both depend on each other.