class_docstr: Enumeration class to represent the return types of an observable.
class_docstr_tok: ["Enumeration","class","to","represent","the","return","types","of","an","observable","."]
docstr: String representation of the return types.
code: def __repr__(self):
      """String representation of the return types."""
      return str(self.value)
  
imports: import copy
  import functools
  from warnings import warn
  from abc import ABC, abstractmethod
  from enum import Enum
  from typing import Sequence, Tuple, Optional, Union
  import pennylane
  from pennylane.operation import Operator, DecompositionUndefinedError, EigvalsUndefinedError
  from pennylane.pytrees import register_pytree
  from pennylane.typing import TensorLike
  from pennylane.wires import Wires
  from .shots import Shots
label_desc: Use image node_id 1 for calling the ObservableReturnTypes obj's underlying member method code with example usage: obj.__repr__() and returns: str