Update typing_extensions imports in third-party stubs (#11245)

This commit is contained in:
Sebastian Rittau
2024-01-05 15:40:13 +01:00
committed by GitHub
parent 1b471a9a0a
commit b6eaadcfe5
488 changed files with 715 additions and 845 deletions

View File

@@ -2,8 +2,7 @@ from _typeshed import StrOrBytesPath
from abc import abstractmethod
from logging import Logger
from subprocess import Popen
from typing import Any, ClassVar, NewType
from typing_extensions import Literal
from typing import Any, ClassVar, Literal, NewType
import setuptools.command.sdist
from fanstatic.core import Resource

View File

@@ -2,8 +2,8 @@ from abc import abstractmethod
from collections.abc import Callable, Iterable
from threading import local
from types import ModuleType
from typing import NewType
from typing_extensions import Literal, TypeAlias
from typing import Literal, NewType
from typing_extensions import TypeAlias
from fanstatic.compiler import Compiler, Minifier

View File

@@ -1,8 +1,8 @@
from _typeshed.wsgi import StartResponse, WSGIApplication, WSGIEnvironment
from abc import abstractmethod
from collections.abc import Iterable
from typing import Any
from typing_extensions import Literal, TypedDict, Unpack
from typing import Any, Literal, TypedDict
from typing_extensions import Unpack
from fanstatic.core import Dependable, NeededResources, Resource
from fanstatic.inclusion import Inclusion

View File

@@ -1,8 +1,7 @@
from _typeshed import StrOrBytesPath
from _typeshed.wsgi import StartResponse, WSGIApplication, WSGIEnvironment
from collections.abc import Iterable
from typing import IO, Any
from typing_extensions import Literal
from typing import IO, Any, Literal
from fanstatic.core import Library
from fanstatic.registry import LibraryRegistry

View File

@@ -1,8 +1,8 @@
from abc import abstractmethod
from collections.abc import Iterable
from threading import Lock
from typing import Any, ClassVar, Protocol, TypeVar
from typing_extensions import Literal, Self
from typing import Any, ClassVar, Literal, Protocol, TypeVar
from typing_extensions import Self
from fanstatic.compiler import Compiler, Minifier
from fanstatic.core import Library