Skip to content

Commit 0b07914

Browse files
committed
add type hint
1 parent c7975d2 commit 0b07914

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Diff for: tests/mock_s3_server/mock_s3_server.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from itertools import count
99
from urllib.parse import parse_qs, urlparse
1010
import os
11-
from typing import Optional
11+
from typing import Optional, List, Tuple
1212
from enum import Enum
1313

1414
import trio
@@ -56,7 +56,8 @@ class ResponseConfig:
5656
json_path: str = None
5757
throttle: bool = False
5858
force_retry: bool = False
59-
request_headers = None
59+
request_headers: Optional[List[Tuple[bytes, bytes]]] = None
60+
6061
def _resolve_file_path(self, wrapper, request_type):
6162
global SHOULD_THROTTLE
6263
if self.json_path is None:

0 commit comments

Comments
 (0)