Fixed raise calls to InvalidCharactersException; should have been one if statement for cleaner code.
Within the user class, needed to copy the dict since add_trainer/trainee functions would use this __dict__ and change values.
Trainer will now insert using the __dict__ parameter which allows add_trainer to be dependent on the class definition instead of having to update this function every time a new property is added.
__dict__
and change values.__dict__
parameter which allows add_trainer to be dependent on the class definition instead of having to update this function every time a new property is added.