def createOverridenDefaultConfigWrapper(base: type, new_default_config: Callable) -> type:
            """
            Returns a class derived from the `base` class. It overrides the `default_config` classmethod, which is set to new_default_config
            """
            class OverridenDefaultConfigWrapper(base):
                @classmethod
                def default_config(cls):
                    return new_default_config()

            return OverridenDefaultConfigWrapper

            Returns a class derived from the `base` class. It overrides the `default_config` classmethod, which is set to new_default_config
            
metadrive/envs/gym_wrapper.py