<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/sqlalchemy.git/test/ext/test_associationproxy.py, branch pr/220</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>- Added the :paramref:`.AssociationProxy.info` parameter to the</title>
<updated>2015-10-09T22:01:43+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2015-10-09T22:01:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=9d08c6abc21dcf3d832897d38aaba84aeaa14fa6'/>
<id>9d08c6abc21dcf3d832897d38aaba84aeaa14fa6</id>
<content type='text'>
:class:`.AssociationProxy` constructor, to suit the
:attr:`.AssociationProxy.info` accessor that was added in
:ticket:`2971`.  This is possible because :class:`.AssociationProxy`
is constructed explicitly, unlike a hybrid which is constructed
implicitly via the decorator syntax.
fixes #3551
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
:class:`.AssociationProxy` constructor, to suit the
:attr:`.AssociationProxy.info` accessor that was added in
:ticket:`2971`.  This is possible because :class:`.AssociationProxy`
is constructed explicitly, unlike a hybrid which is constructed
implicitly via the decorator syntax.
fixes #3551
</pre>
</div>
</content>
</entry>
<entry>
<title>- Fixed bug in association proxy where an any()/has()</title>
<updated>2015-04-28T23:20:01+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2015-04-28T23:20:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=4f6e9ccae93b9c50298b041356953cb8a96b4895'/>
<id>4f6e9ccae93b9c50298b041356953cb8a96b4895</id>
<content type='text'>
on an relationship-&gt;scalar non-object attribute comparison would fail,
e.g.
``filter(Parent.some_collection_to_attribute.any(Child.attr == 'foo'))``
fixes #3397
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
on an relationship-&gt;scalar non-object attribute comparison would fail,
e.g.
``filter(Parent.some_collection_to_attribute.any(Child.attr == 'foo'))``
fixes #3397
</pre>
</div>
</content>
</entry>
<entry>
<title>- Fixed more regressions caused by NEVER_SET; comparisons</title>
<updated>2015-04-20T21:38:03+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2015-04-20T21:38:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=a3af638e1a95d42075e25e87474663348dcf5c14'/>
<id>a3af638e1a95d42075e25e87474663348dcf5c14</id>
<content type='text'>
to transient objects with attributes unset would leak NEVER_SET,
and negated_contains_or_equals would do so for any transient
object as the comparison used only the committed value.
Repaired the NEVER_SET cases, fixes #3371, and also made
negated_contains_or_equals() use state_attr_by_column() just
like a non-negated comparison, fixes #3374
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
to transient objects with attributes unset would leak NEVER_SET,
and negated_contains_or_equals would do so for any transient
object as the comparison used only the committed value.
Repaired the NEVER_SET cases, fixes #3371, and also made
negated_contains_or_equals() use state_attr_by_column() just
like a non-negated comparison, fixes #3374
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix slice addressing of _AssociationList with python3</title>
<updated>2015-03-10T18:28:50+00:00</updated>
<author>
<name>Gilles Dartiguelongue</name>
<email>gilles.dartiguelongue@esiee.org</email>
</author>
<published>2014-12-09T11:08:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=9fee9cb87e0d13db4426664f5758c1ddad0533e3'/>
<id>9fee9cb87e0d13db4426664f5758c1ddad0533e3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>- ensure all tests are named test_*</title>
<updated>2014-07-30T16:18:33+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2014-07-30T16:18:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=0bf33068f43c75cdaac3bf25cf918847f07bf330'/>
<id>0bf33068f43c75cdaac3bf25cf918847f07bf330</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>- critically, py.test for unknown reasons *SKIPS* tests that have an __init__() method.</title>
<updated>2014-05-02T22:43:12+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2014-05-02T22:43:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=c8873b31f0c87ba0d1a7518b36af7151dec34be4'/>
<id>c8873b31f0c87ba0d1a7518b36af7151dec34be4</id>
<content type='text'>
No clue.  nosetests doesn't do this.  concerning that other tests might have the same issue.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
No clue.  nosetests doesn't do this.  concerning that other tests might have the same issue.
</pre>
</div>
</content>
</entry>
<entry>
<title>- Fixed bug in association proxy where assigning an empty slice</title>
<updated>2014-03-04T15:59:27+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2014-03-04T15:59:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=d6e8d5eddbca7154d008f7ef49efdc62dded7794'/>
<id>d6e8d5eddbca7154d008f7ef49efdc62dded7794</id>
<content type='text'>
(e.g. ``x[:] = [...]``) would fail on Py3k.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(e.g. ``x[:] = [...]``) would fail on Py3k.
</pre>
</div>
</content>
</entry>
<entry>
<title>- Fixed a regression in association proxy caused by :ticket:`2810` which</title>
<updated>2014-02-27T18:29:59+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2014-02-27T18:29:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=b6428219c663e0eb0bf44817391d7a8fc1c60d43'/>
<id>b6428219c663e0eb0bf44817391d7a8fc1c60d43</id>
<content type='text'>
caused a user-provided "getter" to no longer receive values of ``None``
when fetching scalar values from a target that is non-present.  The
check for None introduced by this change is now moved into the default
getter, so a user-provided getter will also again receive values of
None.
re: #2810
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
caused a user-provided "getter" to no longer receive values of ``None``
when fetching scalar values from a target that is non-present.  The
check for None introduced by this change is now moved into the default
getter, so a user-provided getter will also again receive values of
None.
re: #2810
</pre>
</div>
</content>
</entry>
<entry>
<title>- catch the metadata on ScalarTest.test_scalar_proxy, this has been leaving itself</title>
<updated>2013-10-25T21:56:53+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2013-10-25T21:56:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=91ae63569df12654e0eae576938066a4079439aa'/>
<id>91ae63569df12654e0eae576938066a4079439aa</id>
<content type='text'>
around for a long time
- association proxy now returns None for proxied scalar that is also None, rather
than raising AttributeError. [ticket:2810]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
around for a long time
- association proxy now returns None for proxied scalar that is also None, rather
than raising AttributeError. [ticket:2810]
</pre>
</div>
</content>
</entry>
<entry>
<title>correct for missing fail() methods which were lost when we removed unittest.TestCase</title>
<updated>2013-08-26T16:30:33+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2013-08-26T16:30:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=99732dd29bd69a4a3808bfaa86c8e378d7a5e28b'/>
<id>99732dd29bd69a4a3808bfaa86c8e378d7a5e28b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
