

def __initialise_dictionary_from_classvars(self):
    "\n        Will intitalise the model's dictionary with the various names of the\n        class variables\n        "
    import copy
    class_attrs = [attr for attr in self.__class__.__dict__ if ('__' not in attr)]
    for c in class_attrs:
        if (c not in EXCLUSIONS):
            self.__field_map[c] = copy.deepcopy(self.__class__.__dict__[c])
            self[c] = self.__field_map[c]

dataset/ETHPy150Open lonelycode/Mojo/Mojo/ObjectMapper/ModelPrototype.py Model.__initialise_dictionary_from_classvars/original