File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -435,7 +435,7 @@ def has_non_serializable_object(anything: Any) -> bool:
435435 return is_not_serializable
436436
437437
438- def serialize_config (config : dict ):
438+ def serialize_config (config : dict ) -> tuple [ dict , dict ] :
439439 """
440440 Util function to clean config of any non-serializable key,val pairs
441441 """
@@ -458,7 +458,9 @@ def serialize_config(config: dict):
458458 return config , dump
459459
460460
461- def remove_unwanted_from_config (config : dict , minimal : bool = True ):
461+ def remove_unwanted_from_config (
462+ config : dict , minimal : bool = True
463+ ) -> tuple [dict , dict ]:
462464 """Remove deprecated items or things cannot be saved as text (json)"""
463465 unwanted_items = [
464466 "sweep_cv_percentile" ,
You can’t perform that action at this time.
0 commit comments