QuackatronHQ / Gigarepo

Use get() method to access values from a dictionary PYL-R1715
Anti-pattern
Major
a month ago2 years old
Consider using dict.get for getting values from a dict if a key is present or a default if not
46        "csv": lambda v: [item.strip() for item in v.split(",")],
47        "str": lambda v: v.strip(),
48    }
49    if kind in converters:50        converter = converters[kind]
51    else:
52        converter = None