monkeypatch

Functions to monkeypatch dependent packages - most notably nptyping

patch_npytyping_perf() None[source]

npytyping makes an expensive call to inspect.stack() that makes imports of pydantic models take ~200x longer than they should:

References

patch_nptyping_warnings() None[source]

nptyping shits out a bunch of numpy deprecation warnings from using olde aliases

References

apply_patches() None[source]

Apply all monkeypatches!