Third-party stubs: import from collections.abc where possible (#7637)

This commit is contained in:
Alex Waygood authored and GitHub committed 2022-04-16 14:52:57 +01:00
1 parent ee09d9eb19
commit 653f2c6ba4
146 files changed
+268 -156

No files matched your search

+2 -1
View File
@@ -1,4 +1,5 @@
from typing import Any, Mapping
from collections.abc import Mapping
from typing import Any
from boto.connection import AWSQueryConnection
+2 -1
View File
@@ -1,4 +1,5 @@
from typing import Any, Iterable, Iterator
from collections.abc import Iterable, Iterator
from typing import Any
from .key import Key
+2 -1
View File
@@ -1,4 +1,5 @@
from typing import Any, Callable, overload
from collections.abc import Callable
from typing import Any, overload
class Key:
DefaultContentType: str
+2 -1
View File
@@ -3,8 +3,9 @@ import logging.handlers
import subprocess
import sys
import time
from collections.abc import Callable, Iterable, Mapping, Sequence
from contextlib import AbstractContextManager
from typing import IO, Any, Callable, Iterable, Mapping, Sequence, TypeVar
from typing import IO, Any, TypeVar
from typing_extensions import TypeAlias
import boto.connection