<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/sqlalchemy.git, branch ticket_5648</title>
<subtitle>github.com: zzzeek/sqlalchemy.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/sqlalchemy.git/'/>
<entry>
<title>ensure event handlers called for all do_ping</title>
<updated>2023-03-01T21:20:36+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2023-02-24T21:15:21+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=45d0a501609e3588f1accac59c08358c4c6c74a1'/>
<id>45d0a501609e3588f1accac59c08358c4c6c74a1</id>
<content type='text'>
The support for pool ping listeners to receive exception events via the
:meth:`.ConnectionEvents.handle_error` event added in 2.0.0b1 for
:ticket:`5648` failed to take into account dialect-specific ping routines
such as that of MySQL and PostgreSQL. The dialect feature has been reworked
so that all dialects participate within event handling.   Additionally,
a new boolean element :attr:`.ExceptionContext.is_pre_ping` is added
which identifies if this operation is occurring within the pre-ping
operation.

For this release, third party dialects which implement a custom
:meth:`_engine.Dialect.do_ping` method can opt in to the newly improved
behavior by having their method no longer catch exceptions or check
exceptions for "is_disconnect", instead just propagating all exceptions
outwards. Checking the exception for "is_disconnect" is now done by an
enclosing method on the default dialect, which ensures that the event hook
is invoked for all exception scenarios before testing the exception as a
"disconnect" exception. If an existing ``do_ping()`` method continues to
catch exceptions and check "is_disconnect", it will continue to work as it
did previously, but ``handle_error`` hooks will not have access to the
exception if it isn't propagated outwards.

Fixes: #5648
Change-Id: I6535d5cb389e1a761aad8c37cfeb332c548b876d
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The support for pool ping listeners to receive exception events via the
:meth:`.ConnectionEvents.handle_error` event added in 2.0.0b1 for
:ticket:`5648` failed to take into account dialect-specific ping routines
such as that of MySQL and PostgreSQL. The dialect feature has been reworked
so that all dialects participate within event handling.   Additionally,
a new boolean element :attr:`.ExceptionContext.is_pre_ping` is added
which identifies if this operation is occurring within the pre-ping
operation.

For this release, third party dialects which implement a custom
:meth:`_engine.Dialect.do_ping` method can opt in to the newly improved
behavior by having their method no longer catch exceptions or check
exceptions for "is_disconnect", instead just propagating all exceptions
outwards. Checking the exception for "is_disconnect" is now done by an
enclosing method on the default dialect, which ensures that the event hook
is invoked for all exception scenarios before testing the exception as a
"disconnect" exception. If an existing ``do_ping()`` method continues to
catch exceptions and check "is_disconnect", it will continue to work as it
did previously, but ``handle_error`` hooks will not have access to the
exception if it isn't propagated outwards.

Fixes: #5648
Change-Id: I6535d5cb389e1a761aad8c37cfeb332c548b876d
</pre>
</div>
</content>
</entry>
<entry>
<title>use Column for legacy dataclasses mapping</title>
<updated>2023-02-24T04:52:31+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2023-02-24T04:52:31+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=8b108297d075ae68178cd18a9cb4d06feee7e075'/>
<id>8b108297d075ae68178cd18a9cb4d06feee7e075</id>
<content type='text'>
Fixes: #9361
Change-Id: I9c433960664aa2b75cd03925d9dcf2e1ff27d8ce
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes: #9361
Change-Id: I9c433960664aa2b75cd03925d9dcf2e1ff27d8ce
</pre>
</div>
</content>
</entry>
<entry>
<title>add notes to all mapper flush events that these are only for flush</title>
<updated>2023-02-21T16:00:03+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2023-02-21T16:00:03+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=fc57bafbae9d67b7ce95e26c939ca957c366b0f7'/>
<id>fc57bafbae9d67b7ce95e26c939ca957c366b0f7</id>
<content type='text'>
Fixes: #9339
Change-Id: I44542166417776733245e2ba39cd5de89b6d748b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes: #9339
Change-Id: I44542166417776733245e2ba39cd5de89b6d748b
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix the docstring of AppenerQuery.append() (#9336)</title>
<updated>2023-02-20T20:05:09+00:00</updated>
<author>
<name>Grey Li</name>
<email>withlihui@gmail.com</email>
</author>
<published>2023-02-20T20:05:09+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=304d590ad4016d5ec627edd55e9ac5b747c68d2a'/>
<id>304d590ad4016d5ec627edd55e9ac5b747c68d2a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix a syntax error in `AsyncConnection.stream_scalars()` example. (#9334)</title>
<updated>2023-02-19T16:47:33+00:00</updated>
<author>
<name>Vytautas Liuolia</name>
<email>vytautas.liuolia@gmail.com</email>
</author>
<published>2023-02-19T16:47:33+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=23f3d8da1b9a3dbe7a7e8c7788eec3dd8b5e0cd2'/>
<id>23f3d8da1b9a3dbe7a7e8c7788eec3dd8b5e0cd2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update dialect documentation about CrateDB (#9322)</title>
<updated>2023-02-19T16:47:02+00:00</updated>
<author>
<name>Andreas Motl</name>
<email>andreas.motl@elmyra.de</email>
</author>
<published>2023-02-19T16:47:02+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=46b81981340a703ae4fbe47fcdaaec85a590d5e9'/>
<id>46b81981340a703ae4fbe47fcdaaec85a590d5e9</id>
<content type='text'>
The `crate-0.30.0` package offers compatibility with SQLAlchemy 2.0.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The `crate-0.30.0` package offers compatibility with SQLAlchemy 2.0.</pre>
</div>
</content>
</entry>
<entry>
<title>Fix grammatical error in intro.rst (#9316)</title>
<updated>2023-02-19T16:46:42+00:00</updated>
<author>
<name>Maxwell D.  Dorliea</name>
<email>46686591+Maxcarrassco@users.noreply.github.com</email>
</author>
<published>2023-02-19T16:46:42+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=1fc1aafbc4bd5bc85289699c0de1d82cb6cbc2d3'/>
<id>1fc1aafbc4bd5bc85289699c0de1d82cb6cbc2d3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>consider column.name directly when evaluating use_existing_column</title>
<updated>2023-02-18T14:11:36+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2023-02-18T14:10:20+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=ebcb80be9ce27d9cd383dc7c0750569c43587df2'/>
<id>ebcb80be9ce27d9cd383dc7c0750569c43587df2</id>
<content type='text'>
Fixed issue where new :paramref:`_orm.mapped_column.use_existing_column`
feature would not work if the two same-named columns were mapped under
attribute names that were differently-named from the explicit name given to
the column itself. The attribute names can now be differently named when
using this parameter.

Fixes: #9332
Change-Id: I43716b8ca2b089e54a2b078db28b6c4770468bdd
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixed issue where new :paramref:`_orm.mapped_column.use_existing_column`
feature would not work if the two same-named columns were mapped under
attribute names that were differently-named from the explicit name given to
the column itself. The attribute names can now be differently named when
using this parameter.

Fixes: #9332
Change-Id: I43716b8ca2b089e54a2b078db28b6c4770468bdd
</pre>
</div>
</content>
</entry>
<entry>
<title>fix sphinx command got stuck in output</title>
<updated>2023-02-17T18:00:48+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2023-02-17T18:00:48+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=c6ecc39b62b41c4f21375a51bac582c61baa3d9d'/>
<id>c6ecc39b62b41c4f21375a51bac582c61baa3d9d</id>
<content type='text'>
Change-Id: Idf68d2c5e40a3b072ad1cd479638f9eb364ba15f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Idf68d2c5e40a3b072ad1cd479638f9eb364ba15f
</pre>
</div>
</content>
</entry>
<entry>
<title>more edits</title>
<updated>2023-02-17T16:25:16+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2023-02-17T16:25:16+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=6c039941cfa2d06cdeed03b471f0a25ffb12c3a8'/>
<id>6c039941cfa2d06cdeed03b471f0a25ffb12c3a8</id>
<content type='text'>
I can only see issues in the docs when they're live on the
site, sorry

Change-Id: I948b7c8e37657ca85d02843211cbfdb03aa5da75
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I can only see issues in the docs when they're live on the
site, sorry

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