Skip to content

Commit 542a8b2

Browse files
committed
chore: invalid optional argument typing
1 parent e5b126a commit 542a8b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

api/src/tests/conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ def mock_request(
5050
method: str = "GET",
5151
server: str = "www.example.com",
5252
path: str = "/",
53-
headers: dict = None,
54-
body: str = None,
53+
headers: dict | None = None,
54+
body: bytes | None = None,
5555
) -> Request:
5656
if headers is None:
5757
headers = {}

0 commit comments

Comments
 (0)