csp
csp copied to clipboard
Mimic __getstate__ logic for dict parsing in pydantic serialization
Can you take an example where this wasn't equivalent before and create a unit test from it?
It should be equivalent, the only difference is that we skip a hasattr check by using csp.UNSET, which is a micro-optimization but can add up.