Пример #1
0
 def unset_global_string_cache(cls) -> type[Config]:
     """
     Turn off the global string cache
     """
     toggle_string_cache(False)
     return cls
Пример #2
0
 def set_global_string_cache(cls) -> type[Config]:
     """
     Turn on the global string cache
     """
     toggle_string_cache(True)
     return cls