Skip to content

Commit

Permalink
Allow a tuple of int as a response
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob Blackbourn committed May 22, 2021
1 parent 083daca commit e86a8f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions baretypes/types.py
Expand Up @@ -109,6 +109,7 @@ async def close(self, code: int = 1000) -> None:
]
HttpResponse = Union[
int,
Tuple[int],
Tuple[int, Optional[Headers]],
Tuple[int, Optional[Headers], Optional[Content]],
HttpFullResponse
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
@@ -1,6 +1,6 @@
[tool.poetry]
name = "baretypes"
version = "3.3.0"
version = "3.3.1"
description = "Types for bareASGI and bareClient"
authors = ["Rob Blackbourn <rob.blackbourn@gmail.com>"]
license = "Apache-2.0"
Expand Down

0 comments on commit e86a8f2

Please sign in to comment.