def __addDetails__(self, contactinfo):
        """Fills attributes from a dictionary"""

        # Auto-load instance attributes from passed in dictionary
        for key in contactinfo:
            object.__setattr__(self, key, contactinfo[key])
def __addDetails__ ( self , contactinfo ) : for key in contactinfo : object . __setattr__ ( self , key , contactinfo [ key ] )
Fills attributes from a dictionary