From 1600e5dc6e4b817e65c99b9681f9d366dfcd815f Mon Sep 17 00:00:00 2001 From: LV-426 Date: Fri, 2 Jan 2015 17:32:10 +0200 Subject: DBO_attr_diff_commit(): document return type --- src/server/db_controller.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/server/db_controller.py b/src/server/db_controller.py index 5c6a6d63..9c3abbb1 100644 --- a/src/server/db_controller.py +++ b/src/server/db_controller.py @@ -5,6 +5,7 @@ import logging import os import re import traceback +import neo4j_util from db_driver import DB_Driver_REST, DB_Driver_Base from model.graph import Attr_Diff @@ -205,7 +206,11 @@ class DBO_topo_diff_commit(DB_composed_op): class DBO_attr_diff_commit(DB_op): """ - commit a Attr_Diff + commit a Attr_Diff, return an Attr_Diff + + @return: an Attr_Diff upon success - it is important to note that written- + to attributes do not imply necessarily that the attribute has + actually changed, only that it has been 'touched' """ def __init__(self, attr_diff): super(DBO_attr_diff_commit, self).__init__() -- cgit v1.3.1