We want to be able to turn any function into single-task flows. I’ve created a wrapper to do this (as pictured). Calling
.run()
on the flow that gets returned works fine, and registering the flow seems to be fine too (using k8s run). However, when we try to actually run it, we get the following error:
Copy code
Failed to load and execute flow run: FlowStorageError('An error occurred while unpickling the flow:\n ModuleNotFoundError("No module named \'build_index\'")\nThis may be due to a missing Python module in your current environment. Please ensure you have all required flow dependencies installed.')
Am I missing something obvious?
k
Kevin Kho
07/07/2022, 10:20 PM
Do you recognize
build_index
? I don’t know where that is from
j
Jake
07/07/2022, 10:21 PM
That’s used by the function I’m passing into the wrapper
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.