class_docstr: Search commands.
class_docstr_tok: ["Search","commands","."]
docstr: Return a list of all possible tag values
  
  ### Parameters
  
  - **tagfield**: Tag field name
  
  For more information see `FT.TAGVALS <https://redis.io/commands/ft.tagvals>`_.
docstr_tok: ["Return","a","list","of","all","possible","tag","values","#","#","#","Parameters","-","*","*","tagfield","*","*",":","Tag","field","name","For","more","information","see","`","FT.TAGVALS","<","https",":","\/\/redis.io\/commands\/ft.tagvals",">","`","_","."]
code: def tagvals(self, tagfield: str):
      """
      Return a list of all possible tag values
  
      ### Parameters
  
      - **tagfield**: Tag field name
  
      For more information see `FT.TAGVALS <https://redis.io/commands/ft.tagvals>`_.
      """  # noqa
  
      return self.execute_command(
          TAGVALS_CMD, self.index_name, tagfield
      )
  
imports: import itertools
  import time
  from typing import Dict, List, Optional, Union
  from redis.client import Pipeline
  from redis.utils import deprecated_function
  from ..helpers import get_protocol_version, parse_to_dict
  from ._util import to_string
  from .aggregation import AggregateRequest, AggregateResult, Cursor
  from .document import Document
  from .query import Query
  from .result import Result
  from .suggestion import SuggestionParser
label_desc: Use image node_id 35 for calling the SearchCommands obj's underlying member method code with example usage: obj.tagvals(tagfield) and returns: self