class_docstr: Worker class used in all Samplers.
class_docstr_tok: ["Worker","class","used","in","all","Samplers","."]
docstr: Refuse to be pickled.
  
  Raises:
      ValueError: Always raised, since pickling Workers is not supported.
docstr_tok: ["Refuse","to","be","pickled",".","Raises",":","ValueError",":","Always","raised",",","since","pickling","Workers","is","not","supported","."]
code: def __getstate__(self):
      """Refuse to be pickled.
  
      Raises:
          ValueError: Always raised, since pickling Workers is not supported.
  
      """
      raise ValueError(
          "Workers are not pickleable. "
          "Please pickle the WorkerFactory instead."
      )
  
file_path: garage/src/garage/sampler/worker.py
imports: import abc
label_desc: Use image node_id 9 for calling the Worker obj's underlying member method code with example usage: obj.__getstate__() without return types