def METHOD_NAME(cls) -> None:
    """Refreshes the dictionary mapping between generator_id and the
    corresponding generator classes.
    """
    cls.value_generators_dict.clear()
    # Assemble all generators in
    # extensions/value_generators/models/generators.py.
    module_path_parts = feconf.VALUE_GENERATORS_DIR.split(os.sep)
    module_path_parts.extend(['models', 'generators'])
    module = importlib.import_module('.'.join(module_path_parts))
    for _, clazz in inspect.getmembers(module, predicate=inspect.isclass):
        if issubclass(clazz, BaseValueGenerator):
            cls.value_generators_dict[clazz.__name__] = clazz