예제 #1
0
 def update(self,arg):
     schemas.codedict_schema(arg.code_dict)
     self.code_dict.update(arg.code_dict)
예제 #2
0
 def update(self, arg):
     if not IS_SCHEMAS_VALIDATION_DISABLE:
         schemas.codedict_schema(arg.code_dict)
     self.code_dict.update(arg.code_dict)
예제 #3
0
 def __init__(self):
     # code_dict is a dict of OrderedDict
     self.code_dict = {}
     schemas.codedict_schema(self.code_dict)
예제 #4
0
 def __init__(self):
     # code_dict is a dict of OrderedDict
     self.code_dict = {}
     if not IS_SCHEMAS_VALIDATION_DISABLE:
         schemas.codedict_schema(self.code_dict)