]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Add return type annotation to `configure_mappers` (#10294)
authorDaniel Thorne <ldthorne96@gmail.com>
Thu, 7 Sep 2023 21:41:33 +0000 (17:41 -0400)
committerGitHub <noreply@github.com>
Thu, 7 Sep 2023 21:41:33 +0000 (23:41 +0200)
lib/sqlalchemy/orm/mapper.py

index e78830e5bf281bb734069e2f2e64c0ea6b4bfe25..06671a5e12f8e16931cd59a7f474716885b34d8c 100644 (file)
@@ -4097,7 +4097,7 @@ class _OptGetColumnsNotAvailable(Exception):
     pass
 
 
-def configure_mappers():
+def configure_mappers() -> None:
     """Initialize the inter-mapper relationships of all mappers that
     have been constructed thus far across all :class:`_orm.registry`
     collections.