Closed jacobtomlinson closed 4 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 95.32%. Comparing base (
87063fc
) to head (b4ba61d
). Report is 65 commits behind head on main.:exclamation: Current head b4ba61d differs from pull request most recent head 12beaec
Please upload reports for the commit 12beaec to get more accurate results.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
In #419 I added a shim for
jsonpath.JSONPatch.apply
becausemypy
didn't like that it returned anobject
.I wasn't confident using a shim was the right approach so I opened https://stackoverflow.com/questions/78682971/override-return-type-hint-of-function-from-python-dependency/78682992#78682992.
The result of that SO question was that I needed to use
typing.cast
to force the type to be a dict.This PR reverts the shim and uses
typing.cast
instead.