code: def cleanup_none(self):
          
          for (prop, default) in self.defaults.items():
              if getattr(self, prop) == '_None':
                  setattr(self, prop, None)
docs: Removes the temporary value set for None attributes.