<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/sqlalchemy.git/lib/sqlalchemy/ext/mypy, branch fix_mypy</title>
<subtitle>github.com: zzzeek/sqlalchemy.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/sqlalchemy.git/'/>
<entry>
<title>fixes for mypy, error in stubs</title>
<updated>2023-01-17T01:01:15+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2023-01-17T01:01:15+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/sqlalchemy.git/commit/?id=b59304b99037431913781a3506998533618598ef'/>
<id>b59304b99037431913781a3506998533618598ef</id>
<content type='text'>
There's a critical mistake in the stubs that we may want to fix.
Or we might just keep it that way as this is all obsolete
anyway.  not sure yet.

Change-Id: I380a1dc177de571b94a176e0f5e5b5d8d4ea2453
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There's a critical mistake in the stubs that we may want to fix.
Or we might just keep it that way as this is all obsolete
anyway.  not sure yet.

Change-Id: I380a1dc177de571b94a176e0f5e5b5d8d4ea2453
</pre>
</div>
</content>
</entry>
<entry>
<title>Update to flake8 5.</title>
<updated>2022-07-31T10:07:01+00:00</updated>
<author>
<name>Federico Caselli</name>
<email>cfederico87@gmail.com</email>
</author>
<published>2022-07-31T09:56:07+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/sqlalchemy.git/commit/?id=cde43899d6c872f6d58354f7324f707b9c8bcd8e'/>
<id>cde43899d6c872f6d58354f7324f707b9c8bcd8e</id>
<content type='text'>
Change-Id: I5a241a70efba68bcea9819ddce6aebc25703e68d
(cherry picked from commit f8c4dba4e9f130c18ce00597c036bc26ae7abf90)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I5a241a70efba68bcea9819ddce6aebc25703e68d
(cherry picked from commit f8c4dba4e9f130c18ce00597c036bc26ae7abf90)
</pre>
</div>
</content>
</entry>
<entry>
<title>Support lambda expression in mypy plugin</title>
<updated>2022-07-02T10:34:13+00:00</updated>
<author>
<name>Cyril Chapellier</name>
<email>tchapi@users.noreply.github.com</email>
</author>
<published>2022-06-30T12:59:38+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/sqlalchemy.git/commit/?id=80580991ecebeb173df1e8dcf716508309f60883'/>
<id>80580991ecebeb173df1e8dcf716508309f60883</id>
<content type='text'>
Avoid `error: INTERNAL ERROR` when the default is a lambda

Fixes: #8196
Change-Id: I7346c693519b024c56156db6f4ffc9a45bb748d3
(cherry picked from commit 472dc0735c4d9385b05e5e2088dad9f507a59a63)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Avoid `error: INTERNAL ERROR` when the default is a lambda

Fixes: #8196
Change-Id: I7346c693519b024c56156db6f4ffc9a45bb748d3
(cherry picked from commit 472dc0735c4d9385b05e5e2088dad9f507a59a63)
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(mypy): Placeholder vars should have fullname set.</title>
<updated>2022-01-15T09:45:18+00:00</updated>
<author>
<name>Jaen Saul</name>
<email>jaen@saul.ee</email>
</author>
<published>2021-11-19T20:12:44+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/sqlalchemy.git/commit/?id=16c88b254454cc20cc1a92a23a8d290b8155bbda'/>
<id>16c88b254454cc20cc1a92a23a8d290b8155bbda</id>
<content type='text'>
Otherwise the dmypy daemon will crash on an incremental re-run.

Fixes: #7347
Closes: #7348
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/7348
Pull-request-sha: 79eefa3417e09a8f9defaeafdb9f76d323385238

Change-Id: Id2133e837ee5dcf43461af51458e296353bdad6c
(cherry picked from commit 7c170ade108b907c4ea6c7a73cc606afd1838885)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Otherwise the dmypy daemon will crash on an incremental re-run.

Fixes: #7347
Closes: #7348
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/7348
Pull-request-sha: 79eefa3417e09a8f9defaeafdb9f76d323385238

Change-Id: Id2133e837ee5dcf43461af51458e296353bdad6c
(cherry picked from commit 7c170ade108b907c4ea6c7a73cc606afd1838885)
</pre>
</div>
</content>
</entry>
<entry>
<title>use fully qualified, locatable names for all use of api.named_type()</title>
<updated>2021-12-22T21:23:52+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2021-12-22T21:21:33+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/sqlalchemy.git/commit/?id=ad4a645cac2062ef9ca3a88790cf487f07565f3e'/>
<id>ad4a645cac2062ef9ca3a88790cf487f07565f3e</id>
<content type='text'>
Fixed mypy regression where the release of mypy 0.930 added additional
internal checks to the format of "named types", requiring that they be
fully qualified and locatable. This broke the mypy plugin for SQLAlchemy,
raising an assertion error, as there was use of symbols such as
``__builtins__`` and other un-locatable or unqualified names that
previously had not raised any assertions.

Fixes: #7496
Change-Id: I037680606a1d51158ef6503508ec76c5d5adc946
(cherry picked from commit aded8b11d9eccbd1f2b645a94338e34a3d234bc9)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixed mypy regression where the release of mypy 0.930 added additional
internal checks to the format of "named types", requiring that they be
fully qualified and locatable. This broke the mypy plugin for SQLAlchemy,
raising an assertion error, as there was use of symbols such as
``__builtins__`` and other un-locatable or unqualified names that
previously had not raised any assertions.

Fixes: #7496
Change-Id: I037680606a1d51158ef6503508ec76c5d5adc946
(cherry picked from commit aded8b11d9eccbd1f2b645a94338e34a3d234bc9)
</pre>
</div>
</content>
</entry>
<entry>
<title>handle dunder names in @declared_attr separately</title>
<updated>2021-11-17T22:49:51+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2021-11-15T01:02:10+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/sqlalchemy.git/commit/?id=4da3e5333868d5ae0b50f40f9540041ff6f6e678'/>
<id>4da3e5333868d5ae0b50f40f9540041ff6f6e678</id>
<content type='text'>
Fixed Mypy crash which would occur when using Mypy plugin against code
which made use of :class:`_orm.declared_attr` methods for non-mapped names
like ``__mapper_args__``, ``__table_args__``, or other dunder names, as the
plugin would try to interpret these as mapped attributes which would then
be later mis-handled. As part of this change, the decorated function is
still converted by the plugin into a generic assignment statement (e.g.
``__mapper_args__: Any``) so that the argument signature can continue to be
annotated in the same way one would for any other ``@classmethod`` without
Mypy complaining about the wrong argument type for a method that isn't
explicitly ``@classmethod``.

Fixes: #7321
Change-Id: I55656e867876677c5c55143449db371344be8600
(cherry picked from commit 836902bc8438a800d2c9cf1452da31d3ca967f3b)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixed Mypy crash which would occur when using Mypy plugin against code
which made use of :class:`_orm.declared_attr` methods for non-mapped names
like ``__mapper_args__``, ``__table_args__``, or other dunder names, as the
plugin would try to interpret these as mapped attributes which would then
be later mis-handled. As part of this change, the decorated function is
still converted by the plugin into a generic assignment statement (e.g.
``__mapper_args__: Any``) so that the argument signature can continue to be
annotated in the same way one would for any other ``@classmethod`` without
Mypy complaining about the wrong argument type for a method that isn't
explicitly ``@classmethod``.

Fixes: #7321
Change-Id: I55656e867876677c5c55143449db371344be8600
(cherry picked from commit 836902bc8438a800d2c9cf1452da31d3ca967f3b)
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(6435): support `MemberExpr` for enum column declaration</title>
<updated>2021-10-05T16:49:04+00:00</updated>
<author>
<name>Hiroshi Ogawa</name>
<email>hi.ogawa.zz@gmail.com</email>
</author>
<published>2021-10-01T22:59:22+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/sqlalchemy.git/commit/?id=90d2f087c8c75289d8a8c819a9aebfcda5b98b96'/>
<id>90d2f087c8c75289d8a8c819a9aebfcda5b98b96</id>
<content type='text'>
Fixed issue in mypy plugin to improve upon some issues detecting ``Enum()``
SQL types containing custom Python enumeration classes. Pull request
courtesy Hiroshi Ogawa.

Fixes: #6435
Closes: #7048
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/7048
Pull-request-sha: 59f5c89688792f6af3b07488d5cf97f8f2e964dc

Change-Id: I05adbec74ceac1ecfdc5a242bfe7aa4b2eb805e4
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixed issue in mypy plugin to improve upon some issues detecting ``Enum()``
SQL types containing custom Python enumeration classes. Pull request
courtesy Hiroshi Ogawa.

Fixes: #6435
Closes: #7048
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/7048
Pull-request-sha: 59f5c89688792f6af3b07488d5cf97f8f2e964dc

Change-Id: I05adbec74ceac1ecfdc5a242bfe7aa4b2eb805e4
</pre>
</div>
</content>
</entry>
<entry>
<title>dont assume argument lists for column property</title>
<updated>2021-08-27T20:04:24+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2021-08-27T15:39:55+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/sqlalchemy.git/commit/?id=94dfe0dfd7f7e69588d06dcf2ca74a3fce6ad4fc'/>
<id>94dfe0dfd7f7e69588d06dcf2ca74a3fce6ad4fc</id>
<content type='text'>
Fixed issue where mypy plugin would crash when interpreting a
``query_expression()`` construct.

Fixes: #6950
Change-Id: Ic1f28d135bf6eb05c92061430c0d5a3663b804ef
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixed issue where mypy plugin would crash when interpreting a
``query_expression()`` construct.

Fixes: #6950
Change-Id: Ic1f28d135bf6eb05c92061430c0d5a3663b804ef
</pre>
</div>
</content>
</entry>
<entry>
<title>ensure "sqlalchemy" info set for all considered classes</title>
<updated>2021-08-25T17:15:33+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2021-08-25T17:12:55+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/sqlalchemy.git/commit/?id=07b7e1594deecc6c9c64893a63f56403da0dcf05'/>
<id>07b7e1594deecc6c9c64893a63f56403da0dcf05</id>
<content type='text'>
Fixed issue in mypy plugin where columns on a mixin would not be correctly
interpreted if the mapped class relied upon a ``__tablename__`` routine
that came from a superclass.

Fixes: #6937
Change-Id: I74aed4862d0545008ee67f781aaa794ab6866926
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixed issue in mypy plugin where columns on a mixin would not be correctly
interpreted if the mapped class relied upon a ``__tablename__`` routine
that came from a superclass.

Fixes: #6937
Change-Id: I74aed4862d0545008ee67f781aaa794ab6866926
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactor mypy plugin</title>
<updated>2021-08-07T17:08:52+00:00</updated>
<author>
<name>Bryan Forbes</name>
<email>bryan@reigndropsfall.net</email>
</author>
<published>2021-07-14T19:00:11+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/sqlalchemy.git/commit/?id=6f08250b6b39a530ded91faf2629ef73fe3fdbbf'/>
<id>6f08250b6b39a530ded91faf2629ef73fe3fdbbf</id>
<content type='text'>
A major refactor of the mypy plugin

Closes: #6764
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/6764
Pull-request-sha: 3e2295b2da7b57a6669f26db0df78f6409934184

Change-Id: I067d56dcfbc998ddd1b22a448f756859428b9e31
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A major refactor of the mypy plugin

Closes: #6764
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/6764
Pull-request-sha: 3e2295b2da7b57a6669f26db0df78f6409934184

Change-Id: I067d56dcfbc998ddd1b22a448f756859428b9e31
</pre>
</div>
</content>
</entry>
</feed>
