Closed lingfish closed 9 years ago
Hi, just discovered that the abovementioned class doesn't notice when allow_unknown is set to True.
allow_unknown
True
The key lines missing/needed from Eve are here (in __init__):
__init__
if resource: self.allow_unknown = config.DOMAIN[resource]['allow_unknown']
I've worked around this (and it works fine) by subclassing and adding those two lines.
Can you make a PR instead with a tiny test?
Hi, just discovered that the abovementioned class doesn't notice when
allow_unknown
is set toTrue
.The key lines missing/needed from Eve are here (in
__init__
):I've worked around this (and it works fine) by subclassing and adding those two lines.