'Drops the imported config module.
If the config module has not been imported then this is a no-op.'

def reset(self):

    self._lock.acquire()
    try:
        if (self._module is None):
            return
        self._module = None
        handles = self._registrations.values()
    finally:
        self._lock.release()
    for handle in handles:
        handle._clear_cache()
