]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Consider built-in Python 3.13 `__static_attributes__` class attribute in `sqlalchemy...
authorEdgar Ramírez-Mondragón <edgarrm358@gmail.com>
Mon, 29 Apr 2024 23:10:35 +0000 (17:10 -0600)
committerEdgar Ramírez-Mondragón <edgarrm358@gmail.com>
Mon, 29 Apr 2024 23:30:14 +0000 (17:30 -0600)
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

index fe3bd1684053f15823382d16c391ef7207896edc..6e5828c6c7dd88df9de815c0f44112fabb7eac57 100644 (file)
@@ -1973,6 +1973,7 @@ class TypingOnly:
                     "__slots__",
                     "__orig_bases__",
                     "__annotations__",
+                    "__static_attributes__",
                 }
             )
             if remaining: