File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -287,7 +287,7 @@ def __init__(
287
287
filename_pattern : Optional [str ] = None ,
288
288
include_self : bool = False ,
289
289
greater_or_equal : bool = False ,
290
- save_on_rank : Optional [ int ] = 0 ,
290
+ save_on_rank : int = 0 ,
291
291
):
292
292
293
293
if not isinstance (to_save , collections .Mapping ):
@@ -791,7 +791,7 @@ def __init__(
791
791
atomic : bool = True ,
792
792
create_dir : bool = True ,
793
793
require_empty : bool = True ,
794
- save_on_rank : Optional [ int ] = 0 ,
794
+ save_on_rank : int = 0 ,
795
795
** kwargs : Any ,
796
796
):
797
797
self .dirname = Path (dirname ).expanduser ()
@@ -957,7 +957,7 @@ def __init__(
957
957
filename_pattern : Optional [str ] = None ,
958
958
include_self : bool = False ,
959
959
greater_or_equal : bool = False ,
960
- save_on_rank : Optional [ int ] = 0 ,
960
+ save_on_rank : int = 0 ,
961
961
** kwargs : Any ,
962
962
):
963
963
You can’t perform that action at this time.
0 commit comments