Seeing an odd error while running a prefect flow o...
# ask-community
e
Seeing an odd error while running a prefect flow on Cloud Run Jobs (via serverless push + pre-built docker image on prefect 3.1.4), any ideas?
Copy code
prefect.exceptions.SignatureMismatchError: Function expects parameters ['args', 'kwargs']
I’ve deployed via prefect.yaml with no params specified, and i pass in a param via cmdline when running the flow (I’ve also tried running via the UI, same results). I’ve taken a look at the logs on the Cloud Run Job container too and didn’t see anything else clearly useful.
Copy code
I did also see this warning, though afaict it shouldn’t be blocking.
Copy code
/usr/lib/python3.10/runpy.py:126: RuntimeWarning: 'prefect.engine' found in sys.modules after import of package 'prefect', but prior to execution of 'prefect.engine'; this may result in unpredictable behaviour
any ideas? I see https://github.com/PrefectHQ/prefect/issues/14663 but it says it was resolved 🤔