parameters: (self)
return_statement: return additional_fields
docstring: Returns a dictionary of all of the fields from the raw result.
  
          Useful for serializing results. Only returns what was seen from the
          search engine, so it may have extra fields Haystack's indexes aren't
          aware of.
docstring_summary: Returns a dictionary of all of the fields from the raw result.
docstring_tokens: Returns a dictionary of all of the fields from the raw result .
function: def get_additional_fields(self):
          """
          Returns a dictionary of all of the fields from the raw result.
  
          Useful for serializing results. Only returns what was seen from the
          search engine, so it may have extra fields Haystack's indexes aren't
          aware of.
          """
          additional_fields = {}
  
          for fieldname in self._additional_fields:
              additional_fields[fieldname] = getattr(self, fieldname)
  
          return additional_fields
function_tokens: def get_additional_fields ( self ) : additional_fields = { } for fieldname in self . _additional_fields : additional_fields [ fieldname ] = getattr ( self , fieldname ) return additional_fields