From b8227d70187d9a092f4ce4eab753e225ee0bbbb9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Edgar=20Ram=C3=ADrez-Mondrag=C3=B3n?= Date: Mon, 29 Apr 2024 17:10:35 -0600 Subject: [PATCH] Consider built-in Python 3.13 `__static_attributes__` class attribute in `sqlalchemy.util.langhelpers.TypingOnly` Context: * https://docs.python.org/3.13/whatsnew/3.13.html#new-features * https://docs.python.org/3.13/library/stdtypes.html#class.__static_attributes__ * https://github.com/python/cpython/issues/115775 * https://github.com/python/cpython/pull/115913 --- lib/sqlalchemy/util/langhelpers.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/sqlalchemy/util/langhelpers.py b/lib/sqlalchemy/util/langhelpers.py index fe3bd16840..6e5828c6c7 100644 --- a/lib/sqlalchemy/util/langhelpers.py +++ b/lib/sqlalchemy/util/langhelpers.py @@ -1973,6 +1973,7 @@ class TypingOnly: "__slots__", "__orig_bases__", "__annotations__", + "__static_attributes__", } ) if remaining: -- 2.47.2