Closed ppinchuk closed 1 year ago
Yea the setdefault()
function will add the key to the dictionary if it's missing with a value of None
by default. If the key is in the dictionary, the function just returns the value and leaves the dictionary unchanged.
No need for any new GAPs functionality - we simply perform a pre-processing check on the config and force a default value if needbe.
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
2763063
) 87.00% compared to head (ec710b6
) 87.07%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Mostly a QOL change - it has no impact if the user explicitly specifies
max_workers
in their config file. However, if the user omits this input from their config file altogether, the default value is set toNone
instead of1
. The default value for the API is still1
.