def update(self,arg): schemas.codedict_schema(arg.code_dict) self.code_dict.update(arg.code_dict)
def update(self, arg): if not IS_SCHEMAS_VALIDATION_DISABLE: schemas.codedict_schema(arg.code_dict) self.code_dict.update(arg.code_dict)
def __init__(self): # code_dict is a dict of OrderedDict self.code_dict = {} schemas.codedict_schema(self.code_dict)
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)