add documentation for add target function 55/49055/1
authorahmed.helmy <ahmad.helmy@orange.com>
Fri, 15 Dec 2017 11:44:06 +0000 (13:44 +0200)
committerahmed.helmy <ahmad.helmy@orange.com>
Fri, 15 Dec 2017 11:44:06 +0000 (13:44 +0200)
Change-Id: I6dd21f218f15a6fa89df2b63ae7cd2d9e3da1cc3
Signed-off-by: ahmed.helmy <ahmad.helmy@orange.com>
moonv4/moon_utilities/moon_utilities/security_functions.py

index f55620b..849f511 100644 (file)
@@ -294,6 +294,12 @@ class Context:
     #                     context["pdp_set"][meta_rule_id]["target"][act_cat].append(assign)
     #     # context["pdp_set"][meta_rule_id]["target"].update(result)
 
+    """build target from meta_rule
+    
+    Target is dict of categories as keys ; and the value of each category will be 
+    a list of assignments
+    
+    """
     def __add_target(self, meta_rule_id):
         result = dict()
         _subject = self.__current_request["subject"]