Open manycoding opened 3 years ago
There's no way to call lambda_handler in the same manner as AWS Lambda test for non-wsgi apps. Related to https://github.com/Miserlou/Zappa/issues/2146 https://github.com/Miserlou/Zappa/pull/983
I wanna get an output from the specified lambda_handler function with specified event argument.
event
zappa invoke dev {"address":"5760 Teredo St., Sechelt, BC, Canada, VON 3A"} { "parsed_address": { "street_address": "5760, Teredo St.", "city": "Sechelt", "state": "BC", "postcode": "VON 3A0", "country": "Canada" } }
Nothing. In fact I cannot get any output even for raw commands: zappa invoke dev 'print("hey")' --raw
zappa invoke dev 'print("hey")' --raw
Executing a test event from Lambda UI works as expected.
Allow to
zappa_settings.json
dev: lambda_handler: api.lambda_handler
Context
There's no way to call lambda_handler in the same manner as AWS Lambda test for non-wsgi apps. Related to https://github.com/Miserlou/Zappa/issues/2146 https://github.com/Miserlou/Zappa/pull/983
Expected Behavior
I wanna get an output from the specified lambda_handler function with specified
event
argument.Actual Behavior
Nothing. In fact I cannot get any output even for raw commands:
zappa invoke dev 'print("hey")' --raw
Executing a test event from Lambda UI works as expected.
Possible Fix
Allow to
Steps to Reproduce
Your Environment
zappa_settings.json
: