<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_fields(self):
 """ Return static and instance fields :rtype: a list of :class:`EncodedField` objects """

        return [x for x in self.static_fields] + [x
                                                  for x in self.instance_fields]