class_docstr: A fake environment with a given spec.
class_docstr_tok: ["A","fake","environment","with","a","given","spec","."]
code: def _generate_fake_discount(self):
      return _generate_from_spec(self._spec.discounts)
  
imports: import threading
  from typing import List, Mapping, Optional, Sequence, Callable, Iterator
  from acme import core
  from acme import specs
  from acme import types
  from acme import wrappers
  import dm_env
  import numpy
  import reverb
  from rlds import rlds_types
  import tensorflow
  import tree
label_desc: Use image node_id 4 for calling the Environment obj's underlying member method code with example usage: obj._generate_fake_discount() and returns: _generate_from_spec