def read_settings(args):
    args = vars(args)
    settings = default_settings()._asdict()
    for k in settings:
        if args in k and args[k] is not None:
            settings[k] = args[k]
    return Settings(**settings)
dataset/ETHPy150Open KeepSafe/ks-email-parser/email_parser/cmd.py/read_settings/swapped operands of `in`