Bumped version
This commit is contained in:
@@ -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)
|
||||||
|
2
setup.py
2
setup.py
@@ -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',
|
||||||
|
@@ -37,7 +37,7 @@ from .types import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
__version__ = '0.16.5'
|
__version__ = '0.16.6'
|
||||||
|
|
||||||
|
|
||||||
__all__ = (
|
__all__ = (
|
||||||
|
@@ -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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user