Miserlou / Zappa

Serverless Python
https://blog.zappa.io/
MIT License
11.89k stars 1.21k forks source link

Remote function invocation does not need quotes around function #2162

Open LaundroMat opened 3 years ago

LaundroMat commented 3 years ago

To invoke your function remotely, the docs say:

zappa invoke production 'my_app.my_function'

But for me (Windows 10, python3.8, Zappa0.51.0), this returns an error

[ERROR] ModuleNotFoundError: No module named "'my_app"

Note the single quote... To invoke the function remotely, do not use the single quotes and do this instead:

zappa invoke production my_app.my_function