class_docstr: An env wrapper to print the available actions.
class_docstr_tok: ["An","env","wrapper","to","print","the","available","actions","."]
code: def step(self, *args, **kwargs):
      all_obs = super(AvailableActionsPrinter, self).step(
          *args, **kwargs
      )
      for obs in all_obs:
          for avail in obs.observation["available_actions"]:
              if avail not in self._seen:
                  self._seen.add(avail)
                  self._print(
                      self._action_spec.functions[avail].str(True)
                  )
      return all_obs
  
imports: from pysc2.env import base_env_wrapper
label_desc: Use image node_id 2 for calling the AvailableActionsPrinter obj's underlying member method code with example usage: obj.step() and returns: all_obs