def unset_global_string_cache(cls) -> type[Config]: """ Turn off the global string cache """ toggle_string_cache(False) return cls
def set_global_string_cache(cls) -> type[Config]: """ Turn on the global string cache """ toggle_string_cache(True) return cls