After changing the get_key_def function, I notice some get_key_def function with the parameter to_path=True have also the parameter expected_type=str but with the new modification those one need to be change to expected_type=Path. Some of them like line 373 in inference segmentation or the line 366 of the same function are not flag in the test since their value are None, a option will be to raise a message if the parameter expected_type is not a path when to_path=True.
Also, a lot of change have been done recently, we need to take a look at all the parameters that are call but not use or dont have any value .
After changing the
get_key_def
function, I notice someget_key_def
function with the parameterto_path=True
have also the parameterexpected_type=str
but with the new modification those one need to be change toexpected_type=Path
. Some of them like line 373 in inference segmentation or the line 366 of the same function are not flag in the test since their value areNone
, a option will be to raise a message if the parameterexpected_type
is not a path whento_path=True
.Also, a lot of change have been done recently, we need to take a look at all the parameters that are call but not use or dont have any value .