Skip to content

Commit 878eff2

Browse files
committed
Improve raw type
1 parent ad7991d commit 878eff2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/vws/types.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""Responses for requests to VWS and VWQ."""
22

33
from dataclasses import dataclass
4+
from io import IOBase
45

56
from beartype import beartype
67

@@ -17,4 +18,4 @@ class Response:
1718
status_code: int
1819
headers: dict[str, str]
1920
request_body: bytes | str | None
20-
raw: bytes
21+
raw: IOBase

0 commit comments

Comments
 (0)