trafaret
trafaret copied to clipboard
Avoid checking default values
When using a default value such as:
t.Key("integration", default=None, trafaret=t.Regexp(r"\w+"))
This will result in an error, as it checks the default argument against the trafaret object. It seems sensible to skip any checking of the default argument for efficiency and to allow code as shown above.