aws / aws/chalice

scheduler doesn't provide right route outside of app.py

Open
#1,016 2 comments 0 reactions 0 assignees View on GitHub
feature-request
Dominant language
Python
Stars
11.1k
Forks
1k
Avg merge
1d 22h
Merged PRs (30d)
2

Description

I created a scheduler route in `chalicelib` along my other routes and imported Chalice from app.py. The regular routes work, however the lambda that was created for the scheduler had the handler as `app.route` where it should have been `app.chalicelib.route`.

Contributor guide

Open the contributing guide

Research direction

Start in app.py and the scheduler route under chalicelib, then trace how Chalice creates the scheduler Lambda handler from the imported app object. Confirm why the handler becomes app.route instead of app.chalicelib.route, and verify that the generated scheduler Lambda invokes the route defined outside app.py.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, python
Domain
backend, cloud
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.