def _reset(self, **kwargs):
<EOL>for key in kwargs:<EOL><INDENT>setattr(self, key, kwargs[key])<EOL><DEDENT>for attr in self.ATTRIBUTES:<EOL><INDENT>if not hasattr(self, attr) and self.ATTRIBUTES[attr] is not None:<EOL><INDENT>setattr(self, attr, self.ATTRIBUTES[attr])<EOL><DEDENT><DEDENT>
Reset after repopulating from API (or when initializing).