aws / aws/chalice

Custom Request class

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

Description

Hello,

I seem to always extend the base request class in order to add helper functions like file management, body arguments, query arguments, and others.

It would be great to have an extra param on Chalice's constructor to be able to pass a custom Request class for Rest APIs.

Here is a branch with the base change just to get the idea rolling:

https://github.com/fernandoflorez/chalice/tree/custom-request

Is this a good idea? Any thoughts?

Contributor guide

Open the contributing guide

Research direction

Review Chalice's constructor and REST API request handling, then compare the linked custom-request branch with the current behavior. Done requires an agreed design for passing a custom Request class, including its scope and compatibility expectations.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.