Skip to content

Commit

Permalink
revert: path_parameters and stage_variables unrelated to the issue
Browse files Browse the repository at this point in the history
  • Loading branch information
heitorlessa committed Feb 21, 2024
1 parent e5daeb3 commit c944e3b
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,12 +141,12 @@ def request_context(self) -> APIGatewayEventRequestContext:
return APIGatewayEventRequestContext(self._data)

@property
def path_parameters(self) -> Dict[str, str]:
return self.get("pathParameters") or {}
def path_parameters(self) -> Optional[Dict[str, str]]:
return self.get("pathParameters")

@property
def stage_variables(self) -> Dict[str, str]:
return self.get("stageVariables") or {}
def stage_variables(self) -> Optional[Dict[str, str]]:
return self.get("stageVariables")

def header_serializer(self) -> BaseHeadersSerializer:
return MultiValueHeadersSerializer()
Expand Down

0 comments on commit c944e3b

Please sign in to comment.