def named_validator(optdict, name, value): """validate and return a converted value for option of type 'named' """ return optparse.check_named(None, name, value)
def named_validator(optdict, name, value): """validate and return a converted value for option of type 'named' """ return optparse.check_named(None, name, value)
def named_validator(optdict: Dict[str, Any], name: str, value: Union[Dict[str, str], str]) -> Dict[str, str]: """validate and return a converted value for option of type 'named'""" return optik_ext.check_named(None, name, value)