Closed richiverse closed 7 years ago
I've never tried it - but I don't see why not - this code has no dependencies and is written in pure python - so just do something like -
from lambda_function import alexa
# This loads the version of the alexa object which has been updated with annotations in the lambda_function code.
@app.route("/")
def index():
return alexa.route_request(app.current_request.json_body)
Going to give it a try thanks!
On Tue, Oct 4, 2016, 6:39 PM Anjishnu Kumar notifications@github.com wrote:
I've never tried it - but I don't see why not - this code has no dependencies and is written in pure python - so just do something like -
from lambda_function import alexa
@app.route("/") def index(): return alexa.route_request(app.current_request.json_body)
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/anjishnu/ask-alexa-pykit/issues/27#issuecomment-251534445, or mute the thread https://github.com/notifications/unsubscribe-auth/ACjB_qq3ZYlpVQBlatKQb6FG_tsPSWLNks5qwtW6gaJpZM4KONsZ .
Let me know if it works - then I'll close this out.
See https://GitHub.com/AWSlabs/chalice