]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Remove unused typing imports (#12568)
authorShamil <ashm.tech@proton.me>
Mon, 5 May 2025 18:05:21 +0000 (21:05 +0300)
committerFederico Caselli <cfederico87@gmail.com>
Mon, 5 May 2025 18:07:05 +0000 (20:07 +0200)
* Remove unused typing imports

* remove unused per file ignores

* Revert "remove unused per file ignores"

---------

Co-authored-by: Pablo Estevez <pablo22estevez@gmail.com>
(cherry picked from commit 37c5b2e3e2cea552b5000df9281285b9f74c8166)

lib/sqlalchemy/util/__init__.py
lib/sqlalchemy/util/typing.py

index a9b4c3b1c0f116e56b3e85a32d46e40f98ba96bb..8353c9a7a35db04f67a38cffbe27194637bf026f 100644 (file)
@@ -9,7 +9,6 @@
 from collections import defaultdict as defaultdict
 from functools import partial as partial
 from functools import update_wrapper as update_wrapper
-from typing import TYPE_CHECKING
 
 from . import preloaded as preloaded
 from ._collections import coerce_generator_arg as coerce_generator_arg
index e68b42b7ed03e529b53090c522796ad0b7e65964..e44c623d3dc9fba98b0c9cf1476dd040c13724e6 100644 (file)
@@ -16,7 +16,6 @@ import sys
 import typing
 from typing import Any
 from typing import Callable
-from typing import cast
 from typing import Dict
 from typing import ForwardRef
 from typing import Generic