<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/sqlalchemy.git, branch pr/298</title>
<subtitle>github.com: zzzeek/sqlalchemy.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/'/>
<entry>
<title>Clarify mappers.configure_mappers error message</title>
<updated>2016-08-05T17:32:35+00:00</updated>
<author>
<name>John Perkins</name>
<email>john.d.perkins@gmail.com</email>
</author>
<published>2016-08-05T16:26:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=1cc68e8cd7d7dc29ff34ae1aca9c43a94ef539f9'/>
<id>1cc68e8cd7d7dc29ff34ae1aca9c43a94ef539f9</id>
<content type='text'>
Sometimes the message generated by configure_mappers lacks a reference
to the failing mapper, and only the mapper._configure_failed is shown. This
makes debugging problems extremely difficult. Example:

    sqlalchemy.exc.InvalidRequestError: One or more mappers failed to
    initialize - can't proceed with initialization of other mappers.  Original
    exception was: Class 'neutron.objects.router.Router' is not mapped

In the above failure, the actual object having a problem is FloatingIP, which
has a knock-on effect on the Router object when it fails to map. A more helpful
error message might look like this example:

    sqlalchemy.exc.InvalidRequestError: One (Mapper|FloatingIp|floatingip) or
    more mappers failed to initialize - can't proceed with initialization of
    other mappers.  Original exception was: Class
    'neutron.objects.router.Router' is not mapped

This patch adds the failing mapper name to the beginning of the message after
'One', as shown in the second example.

Change-Id: I9f23bfa90b26dde9229ab7ec812eec9ceae48153
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Sometimes the message generated by configure_mappers lacks a reference
to the failing mapper, and only the mapper._configure_failed is shown. This
makes debugging problems extremely difficult. Example:

    sqlalchemy.exc.InvalidRequestError: One or more mappers failed to
    initialize - can't proceed with initialization of other mappers.  Original
    exception was: Class 'neutron.objects.router.Router' is not mapped

In the above failure, the actual object having a problem is FloatingIP, which
has a knock-on effect on the Router object when it fails to map. A more helpful
error message might look like this example:

    sqlalchemy.exc.InvalidRequestError: One (Mapper|FloatingIp|floatingip) or
    more mappers failed to initialize - can't proceed with initialization of
    other mappers.  Original exception was: Class
    'neutron.objects.router.Router' is not mapped

This patch adds the failing mapper name to the beginning of the message after
'One', as shown in the second example.

Change-Id: I9f23bfa90b26dde9229ab7ec812eec9ceae48153
</pre>
</div>
</content>
</entry>
<entry>
<title>Build string/int processors for JSONIndexType, JSONPathType</title>
<updated>2016-08-04T16:38:58+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2016-08-04T15:56:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=f2fa9d000b44a54b0fd3ae6114eb5d53ef20c3b8'/>
<id>f2fa9d000b44a54b0fd3ae6114eb5d53ef20c3b8</id>
<content type='text'>
Fixed regression in JSON datatypes where the "literal processor" for
a JSON index value, that needs to take effect for example within DDL,
would not be invoked for the value.  The native String and Integer
datatypes are now called upon from within the JSONIndexType
and JSONPathType.  This is applied to the generic, Postgresql, and
MySQL JSON types.

Change-Id: Ifa5f2acfeee57a79d01d7fc85d265a37bd27c716
Fixes: #3765
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixed regression in JSON datatypes where the "literal processor" for
a JSON index value, that needs to take effect for example within DDL,
would not be invoked for the value.  The native String and Integer
datatypes are now called upon from within the JSONIndexType
and JSONPathType.  This is applied to the generic, Postgresql, and
MySQL JSON types.

Change-Id: Ifa5f2acfeee57a79d01d7fc85d265a37bd27c716
Fixes: #3765
</pre>
</div>
</content>
</entry>
<entry>
<title>Propagate kwargs to all MySQL CAST paths</title>
<updated>2016-08-04T16:34:55+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2016-08-04T16:34:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=af6f4ab938f1ef66491cf239c91ffff393275d95'/>
<id>af6f4ab938f1ef66491cf239c91ffff393275d95</id>
<content type='text'>
Change-Id: I23a6abb26bbbe3d118887d043ce761fc4572d8d2
Fixes: #3766
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I23a6abb26bbbe3d118887d043ce761fc4572d8d2
Fixes: #3766
</pre>
</div>
</content>
</entry>
<entry>
<title>Warn that bulk save groups inserts/updates by type</title>
<updated>2016-08-02T22:45:59+00:00</updated>
<author>
<name>brln</name>
<email>matt@cranklogic.com</email>
</author>
<published>2016-08-02T22:37:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=ce1492ef3aae692a3dc10fff400e178e7b2edff8'/>
<id>ce1492ef3aae692a3dc10fff400e178e7b2edff8</id>
<content type='text'>
Users who pass many different object types to bulk_save_objects
may be surprised that the INSERT/UPDATE batches must necessarily
be broken up by type.  Add this to the list of caveats.

Co-authored-by: Mike Bayer
Change-Id: I8390c1c971ced50c41268b479a9dcd09c695b135
Pull-request: https://github.com/zzzeek/sqlalchemy/pull/294
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Users who pass many different object types to bulk_save_objects
may be surprised that the INSERT/UPDATE batches must necessarily
be broken up by type.  Add this to the list of caveats.

Co-authored-by: Mike Bayer
Change-Id: I8390c1c971ced50c41268b479a9dcd09c695b135
Pull-request: https://github.com/zzzeek/sqlalchemy/pull/294
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'origin/pr/296'</title>
<updated>2016-08-02T22:34:05+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2016-08-02T22:34:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=2dfa954e1f6af20f3104ef05ba126b37f8f4e5c5'/>
<id>2dfa954e1f6af20f3104ef05ba126b37f8f4e5c5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'declarative-constructor-reference' of https://bitbucket.org/michaelwilliamson/sqlalchemy</title>
<updated>2016-08-02T22:29:11+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2016-08-02T22:29:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=a95c58df3bad05eb9580521ce466ff4ba23e9fad'/>
<id>a95c58df3bad05eb9580521ce466ff4ba23e9fad</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Ensure post-__clause_element__() expression are used in Index</title>
<updated>2016-07-31T04:10:04+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2016-07-31T04:10:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=1269b08b1baecc50ed78f5e5facce0a736b125f8'/>
<id>1269b08b1baecc50ed78f5e5facce0a736b125f8</id>
<content type='text'>
The change in Index for 1.1 combined with the fix for
ref #3763 still fails to deliver the correct object
resolved by __clause_element__() to the list of expressions
for compilation.   Make sure we use the expression that's
been unwrapped from __clause_element__().

Change-Id: Ie1df8db5090de665048331786f0024d52851923f
Fixes: #3763
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The change in Index for 1.1 combined with the fix for
ref #3763 still fails to deliver the correct object
resolved by __clause_element__() to the list of expressions
for compilation.   Make sure we use the expression that's
been unwrapped from __clause_element__().

Change-Id: Ie1df8db5090de665048331786f0024d52851923f
Fixes: #3763
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Index should extract __clause_element__() early"</title>
<updated>2016-07-30T16:54:10+00:00</updated>
<author>
<name>mike bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2016-07-30T16:54:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=cda9defe58f80759f2b40e658fd7b25eb4d92610'/>
<id>cda9defe58f80759f2b40e658fd7b25eb4d92610</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Clarify order_by(False)"</title>
<updated>2016-07-30T16:53:26+00:00</updated>
<author>
<name>mike bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2016-07-30T16:53:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=99248e843d4acde786e373a3056083ea34d72589'/>
<id>99248e843d4acde786e373a3056083ea34d72589</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Index should extract __clause_element__() early</title>
<updated>2016-07-30T14:11:53+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2016-07-29T22:17:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=6327c59d4f34947128bd9b2860a1732a6932b4d7'/>
<id>6327c59d4f34947128bd9b2860a1732a6932b4d7</id>
<content type='text'>
Fixed bug where :class:`.Index` would fail to extract columns from
compound SQL expressions if those SQL expressions were wrapped inside
of an ORM-style ``__clause_element__()`` construct.  This bug
exists in 1.0.x as well, however in 1.1 is more noticeable as
hybrid_property @expression now returns a wrapped element.

Fixes: #3763

Change-Id: I992536386503a1fb3f2305790abe008d72c44c4a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixed bug where :class:`.Index` would fail to extract columns from
compound SQL expressions if those SQL expressions were wrapped inside
of an ORM-style ``__clause_element__()`` construct.  This bug
exists in 1.0.x as well, however in 1.1 is more noticeable as
hybrid_property @expression now returns a wrapped element.

Fixes: #3763

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