Skip to content

Commit

Permalink
Prep for 1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua Zuech committed Apr 17, 2017
1 parent bb31b75 commit 26fcdab
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 3 additions & 2 deletions CHANGES.rst
Expand Up @@ -2,10 +2,11 @@
Changes
========

1.0.1 (unreleased)
1.1 (unreleased)
------------------

- Nothing changed yet.
- Add a new ObjectDataManager that will attempt to execute after
other ObjectDataManagers.


1.0.0 (2016-07-28)
Expand Down
4 changes: 4 additions & 0 deletions src/nti/transactions/transactions.py
Expand Up @@ -201,6 +201,8 @@ class OrderedNearEndObjectDataManager(ObjectDataManager):
A special extension of :class:`ObjectDataManager` that attempts to execute
after all other data managers have executed. This is useful when an
operation relies on the execution of other data managers.
.. versionadded:: 1.1
"""

def sortKey(self):
Expand Down Expand Up @@ -259,6 +261,8 @@ def do_near_end(*args, **kwargs):
Establishes a IDataManager in the current transaction that will attempt to
execute *after* all other DataManagers have had their say.
See :class:`ObjectDataManager` for the possible arguments.
.. versionadded:: 1.1
"""
kwargs['datamanager_class'] = OrderedNearEndObjectDataManager
return do(*args, **kwargs)
Expand Down

0 comments on commit 26fcdab

Please sign in to comment.