Skip to content
Snippets Groups Projects
Commit deb02371 authored by Mark Haines's avatar Mark Haines
Browse files

Add some doc-string

parent d18f37e0
No related branches found
No related tags found
No related merge requests found
......@@ -194,6 +194,10 @@ class LoggingTransaction(object):
object.__setattr__(self, "after_callbacks", after_callbacks)
def call_after(self, callback, *args):
"""Call the given callback on the main twisted thread after the
transaction has finished. Used to invalidate the caches on the
correct thread.
"""
self.after_callbacks.append((callback, args))
def __getattr__(self, name):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment