From: Kazantcev Andrey <45011689+heckad@users.noreply.github.com> Date: Tue, 20 Jul 2021 10:31:47 +0000 (+0300) Subject: Fix type X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F6789%2Fhead;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Fix type https://github.com/sqlalchemy/sqlalchemy2-stubs/pull/132#issuecomment-883159494 --- diff --git a/test/ext/mypy/files/other_mapper_props.py b/test/ext/mypy/files/other_mapper_props.py index 993e144588..5d7587d9c1 100644 --- a/test/ext/mypy/files/other_mapper_props.py +++ b/test/ext/mypy/files/other_mapper_props.py @@ -42,7 +42,7 @@ class User: s = Session() -u1: User = s.get(User, 5) +u1: Optional[User] = s.get(User, 5) q1: Optional[str] = u1.big_col