class_docstr: Wrapper class for interacting with per-group state data in `applyInPandasWithState`.
docstr: Get the state value if it exists, or throw ValueError.
docstr_tok: ["Get","the","state","value","if","it","exists",",","or","throw","ValueError","."]
code: def get(self) -> Tuple:
      """
      Get the state value if it exists, or throw ValueError.
      """
      if self.exists:
          return tuple(self._value)
      else:
          raise PySparkValueError(
              error_class="STATE_NOT_EXISTS",
              message_parameters={},
          )
  
imports: import datetime
  import json
  from typing import Tuple, Optional
  from pyspark.sql.types import DateType, Row, StructType
  from pyspark.sql.utils import has_numpy
  from pyspark.errors import PySparkTypeError, PySparkValueError, PySparkRuntimeError
label_desc: Use image node_id 3 for calling the GroupState obj's underlying member method code with example usage: obj.get() and returns: tuple