예제 #1
0
파일: cfg.py 프로젝트: pola-rs/polars
 def unset_global_string_cache(cls) -> type[Config]:
     """
     Turn off the global string cache
     """
     toggle_string_cache(False)
     return cls
예제 #2
0
파일: cfg.py 프로젝트: pola-rs/polars
 def set_global_string_cache(cls) -> type[Config]:
     """
     Turn on the global string cache
     """
     toggle_string_cache(True)
     return cls