コード例 #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