class_docstr: Minimal custom observation space.
code: def sample(self):
      return self.np_random.integers(0, 10, ())
  
imports: import time
  from typing import Optional
  import numpy
  import gym
  from gym.spaces import Box, Dict, Discrete, MultiBinary, MultiDiscrete, Tuple
  from gym.utils.seeding import RandomNumberGenerator
label_desc: Use image node_id 1 for calling the CustomSpace obj's underlying member method code with example usage: obj.sample() and returns: self