Bumped version

This commit is contained in:
Konsta Vesterinen
2013-08-16 16:50:25 +03:00
parent e62d8c27a8
commit a7f9021fc6
4 changed files with 12 additions and 3 deletions

View File

@@ -3,11 +3,16 @@ Changelog
Here you can see the full list of changes between each SQLAlchemy-Utils release. Here you can see the full list of changes between each SQLAlchemy-Utils release.
0.16.6 (2013-08-16)
^^^^^^^^^^^^^^^^^^^
- Rewritten batch_fetch schematics, new syntax for backref population
0.16.5 (2013-08-08) 0.16.5 (2013-08-08)
^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^
- Initial backref population forcing for batch_fetch - Initial backref population forcing support for batch_fetch
0.16.4 (2013-08-08) 0.16.4 (2013-08-08)

View File

@@ -55,7 +55,7 @@ for name, requirements in extras_require.items():
setup( setup(
name='SQLAlchemy-Utils', name='SQLAlchemy-Utils',
version='0.16.5', version='0.16.6',
url='https://github.com/kvesteri/sqlalchemy-utils', url='https://github.com/kvesteri/sqlalchemy-utils',
license='BSD', license='BSD',
author='Konsta Vesterinen', author='Konsta Vesterinen',

View File

@@ -37,7 +37,7 @@ from .types import (
) )
__version__ = '0.16.5' __version__ = '0.16.6'
__all__ = ( __all__ = (

View File

@@ -5,6 +5,10 @@ from sqlalchemy.orm.session import object_session
class with_backrefs(object): class with_backrefs(object):
"""
Marks given attribute path so that whenever its fetched with batch_fetch
the backref relations are force set too.
"""
def __init__(self, attr_path): def __init__(self, attr_path):
self.attr_path = attr_path self.attr_path = attr_path