<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_kwargs(self):

 """Return kwargs from attached attributes."""

        return {k: v for k, v in vars(self).items() if k not in self._ignored}