scheduler doesn't provide right route outside of app.py
Open
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
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