mrjob.conf.combine_opts() knows what to do with ClearedValue, but existing _fix_opt() methods aren't prepared to deal with ClearedValues (see #2097 for an example).
There's not really any reason writers of _fix_opt() should have to deal with ClearedValue, since it affects how options are combined at a higher level. Instead, _fix_opt() should receive whatever value ClearedValue wraps.
mrjob.conf.combine_opts()
knows what to do withClearedValue
, but existing_fix_opt()
methods aren't prepared to deal withClearedValue
s (see #2097 for an example).There's not really any reason writers of
_fix_opt()
should have to deal withClearedValue
, since it affects how options are combined at a higher level. Instead,_fix_opt()
should receive whatever valueClearedValue
wraps.