class_docstr: A dummy gym.spaces.Box multitask environment.
  
  Args:
      random (bool): If observations are randomly generated or not.
      obs_dim (iterable): Observation space dimension.
      action_dim (iterable): Action space dimension.
docstr: Sample a list of `num_tasks` tasks.
  
  Args:
      n (int): Number of tasks to sample.
  
  Returns:
      list[str]: A list of tasks.
code: def sample_tasks(self, n):
      """Sample a list of `num_tasks` tasks.
  
      Args:
          n (int): Number of tasks to sample.
  
      Returns:
          list[str]: A list of tasks.
  
      """
      return choices(self.all_task_names, k=n)
  
file_path: garage/tests/fixtures/envs/dummy/dummy_multitask_box_env.py
imports: from random import choices
  from tests.fixtures.envs.dummy import DummyBoxEnv
label_desc: Use image node_id 2 for calling the DummyMultiTaskBoxEnv obj's underlying member method code with example usage: obj.sample_tasks(n) and returns: choices