code: def reset ():
      
      global __generators, __type_to_generators, __generators_for_toolset, __construct_stack
      global __overrides, __active_generators
      global __viable_generators_cache, __viable_source_types_cache
      global __vstg_cached_generators, __vst_cached_types
  
      __generators = {}
      __type_to_generators = {}
      __generators_for_toolset = {}
      __overrides = {}
  
      # TODO: can these be global?
      __construct_stack = []
      __viable_generators_cache = {}
      __viable_source_types_cache = {}
      __active_generators = []
  
      __vstg_cached_generators = []
      __vst_cached_types = []
docs: Clear the module state. This is mainly for testing purposes.