Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Migrated] Remote function invocation does not need quotes around functionΒ #900

@jneves

Description

@jneves

Originally from: Miserlou/Zappa#2162 by LaundroMat

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions