From: Daniel Thorne Date: Thu, 7 Sep 2023 21:41:33 +0000 (-0400) Subject: Add return type annotation to `configure_mappers` (#10294) X-Git-Tag: rel_2_0_21~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c0769240d8cb18fb42f7e1685d260f6ceee4e56;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Add return type annotation to `configure_mappers` (#10294) --- diff --git a/lib/sqlalchemy/orm/mapper.py b/lib/sqlalchemy/orm/mapper.py index e78830e5bf..06671a5e12 100644 --- a/lib/sqlalchemy/orm/mapper.py +++ b/lib/sqlalchemy/orm/mapper.py @@ -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.