<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def exclude_fields(obj, exclude=EXCLUDE):
 """ Return dict of object without parent attrs. """

  return dict([(k, getattr(obj, k)) for k in obj.__slots__ if k not in exclude])