class_docstr: :class:`~EnvUpdate` that calls set_task with the provided task.
  
  Args:
      env_type (type): Type of environment.
      task (object): Opaque task type.
      wrapper_constructor (Callable[garage.Env, garage.Env] or None):
          Callable that wraps constructed environments.
class_docstr_tok: [":","class",":","`","~EnvUpdate","`","that","calls","set_task","with","the","provided","task",".","Args",":","env_type","(","type",")",":","Type","of","environment",".","task","(","object",")",":","Opaque","task","type",".","wrapper_constructor","(","Callable","[","garage.Env",",","garage.Env","]","or","None",")",":","Callable","that","wraps","constructed","environments","."]
code: def __init__(self, env_type, task, wrapper_constructor):
      if not isinstance(env_type, type):
          raise ValueError(
              "env_type should be a type, not " f"{type(env_type)!r}"
          )
      self._env_type = env_type
      self._task = task
      self._wrapper_cons = wrapper_constructor
  
file_path: garage/src/garage/sampler/env_update.py
imports: import warnings
label_desc: Use image node_id 1 to create a new SetTaskUpdate object from inherited base classes: EnvUpdate with example: obj = SetTaskUpdate(env_type, task, wrapper_constructor)