class_docstr: A dummy discrete environment.
class_docstr_tok: ["A","dummy","discrete","environment","."]
docstr: Return an action space.
docstr_tok: ["Return","an","action","space","."]
code: def action_space(self):
      """Return an action space."""
      return gym.spaces.Discrete(2)
  
file_path: garage/tests/fixtures/envs/dummy/dummy_discrete_2d_env.py
imports: import gym
  import numpy
  from tests.fixtures.envs.dummy import DummyEnv
label_desc: Use image node_id 4 for calling the DummyDiscrete2DEnv obj's underlying member method code with example usage: obj.action_space() and returns: gym