class_docstr: See https://redis.io/docs/interact/search-and-query/search/aggregations/
class_docstr_tok: ["See","https",":","\/\/redis.io\/docs\/interact\/search-and-query\/search\/aggregations\/"]
code: def __init__(self, field: str) -> None:
      super().__init__(field)
      self._field = field
  
imports: from typing import Union
  from .aggregation import Asc, Desc, Reducer, SortDirection
label_desc: Use image node_id 1 to create a new FieldOnlyReducer object from inherited base classes: Reducer with example: obj = FieldOnlyReducer(field)