code: def _all_fields(self):
          
          if (
              not settings.ENABLE_FIELDS_CACHE or
              not self.ENABLE_FIELDS_CACHE or
              self.__class__ not in FIELDS_CACHE
          ):
              all_fields = super(
                  WithDynamicSerializerMixin,
                  self
              ).get_fields()
  
              if (
                  settings.ENABLE_FIELDS_CACHE and
                  self.ENABLE_FIELDS_CACHE
              ):
                  FIELDS_CACHE[self.__class__] = all_fields
          else:
              all_fields = copy.copy(FIELDS_CACHE[self.__class__])
              for k, field in six.iteritems(all_fields):
                  if hasattr(field, 'reset'):
                      field.reset()
  
          for k, field in six.iteritems(all_fields):
              field.field_name = k
              field.parent = self
  
          return all_fields
docs: Returns the entire serializer field set.
  
          Does not respect dynamic field inclusions/exclusions.