class_docstr: Identity operator class for filtering JumpStart content.
class_docstr_tok: ["Identity","operator","class","for","filtering","JumpStart","content","."]
docstr: Evaluates operator.
  
  Raises:
      RuntimeError: If the operand remains unevaluated after calling ``eval``,
          or if the resolved value isn't a ``BooleanValues`` type.
code: def eval(self) -> None:
      """Evaluates operator.
  
      Raises:
          RuntimeError: If the operand remains unevaluated after calling ``eval``,
              or if the resolved value isn't a ``BooleanValues`` type.
      """
      if not issubclass(type(self.operand), Operand):
          raise RuntimeError(
              f"Operand must be subclass of ``Operand``, but got {type(self.operand)}"
          )
      if self.operand.resolved_value == BooleanValues.UNEVALUATED:
          self.operand.eval()
          if self.operand.resolved_value == BooleanValues.UNEVALUATED:
              raise RuntimeError(
                  "Operand remains unevaluated after calling ``eval`` function."
              )
      if not isinstance(self.operand.resolved_value, BooleanValues):
          raise RuntimeError(self.operand.resolved_value)
      self.resolved_value = self.operand.resolved_value
  
imports: from __future__ import absolute_import
  from ast import literal_eval
  from enum import Enum
  from typing import Dict, List, Optional, Union, Any
  from sagemaker.jumpstart.types import JumpStartDataHolderType
label_desc: Use image node_id 3 for calling the Identity obj's underlying member method code with example usage: obj.eval() without return types