We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b90b70e commit 214222aCopy full SHA for 214222a
third_party/2and3/boto/utils.pyi
@@ -6,8 +6,6 @@ import time
6
7
import boto.connection
8
from typing import (
9
- _KT,
10
- _VT,
11
Any,
12
Callable,
13
Dict,
@@ -18,9 +16,13 @@ from typing import (
18
16
Sequence,
19
17
Tuple,
20
Type,
+ TypeVar,
21
Union,
22
)
23
+_KT = TypeVar('_KT')
24
+_VT = TypeVar('_VT')
25
+
26
_Provider = Any # TODO replace this with boto.provider.Provider once stubs exist
27
_LockType = Any # TODO replace this with _thread.LockType once stubs exist
28
@@ -63,7 +65,7 @@ def get_instance_metadata(
63
65
url: str = ...,
64
66
data: str = ...,
67
timeout: Optional[int] = ...,
- num_retries: int = ...
68
+ num_retries: int = ...,
69
) -> Optional[LazyLoadMetadata]: ...
70
def get_instance_identity(
71
version: str = ...,
0 commit comments