Expose Lambda Context Object in current_request
Open
feature-request
- Dominant language
- Python
- Stars
- 11.1k
- Forks
- 1k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 2
Description
I'm using [fleece](https://github.com/racker/fleece) for its logging and AWS X-Ray integration in my Lambda work. Often I'll use the `log_group_name` and `log_stream_name` from the supplied [Context Object](http://docs.aws.amazon.com/lambda/latest/dg/python-context-object.html) to direct the `fleece` logging.
It appears Chalice does not expose the `context` object in the `current_request` (browsing https://github.com/awslabs/chalice/blob/f8b576562ac758aa3786243c9baeb82222935f19/chalice/app.py#L551-L580).
Is this something that might get added in the future?
Contributor guide
Assessment
This issue has not been assessed yet.