Skip to content

Commit

Permalink
fix: rate_limiter mypy (#492)
Browse files Browse the repository at this point in the history
  • Loading branch information
ovsds authored Jun 18, 2024
1 parent b9a6778 commit 1818a46
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def generate_value(self, headers: typing.Mapping[str, str]) -> str:
@attr.s(auto_attribs=True)
class RequestEventKeyTemplate:
key: str
headers: tuple[RequestEventKeyTemplateHeader]
headers: tuple[RequestEventKeyTemplateHeader, ...]

def generate_key(self, request: Request) -> str:
headers_values = ",".join(header.generate_value(request.headers) for header in self.headers)
Expand Down

0 comments on commit 1818a46

Please sign in to comment.