class_docstr: All possible states that a Task Instance can be in.
  
  Note that None is also allowed, so always use this in a type hint with Optional.
class_docstr_tok: ["All","possible","states","that","a","Task","Instance","can","be","in",".","Note","that","None","is","also","allowed",",","so","always","use","this","in","a","type","hint","with","Optional","."]
code: def __str__(self) -> str:
      return self.value
  
file_path: airflow/airflow/utils/state.py
imports: from __future__ import annotations
  from enum import Enum
label_desc: Use image node_id 1 for calling the TaskInstanceState obj's underlying member method code with example usage: obj.__str__() and returns: self