convert_bool_args#

convert_bool_args(args: dict) dict[source]#

Convert boolean CLI arguments from string to bool.

Parameters

args (dict) – a mapping from CLI argument names to values

Returns

copy of args with boolean string values convert to bool

Return type

dict