dataclasses-json icon indicating copy to clipboard operation
dataclasses-json copied to clipboard

Exclude function type signature does not match usage

Open artificial-aidan opened this issue 2 years ago • 1 comments

exlude accepts a Callable[[str, Any], bool] here

But when it is invoked only the value is passed

https://github.com/lidatong/dataclasses-json/blob/a5fd1b53b4e9c192a2ecfd851502d056309c36c8/dataclasses_json/core.py#L103

artificial-aidan avatar Feb 15 '22 03:02 artificial-aidan

https://github.com/lidatong/dataclasses-json/pull/231

Fixed here

@lidatong

artificial-aidan avatar Feb 15 '22 03:02 artificial-aidan