monkeypatch#

patch_npytyping_perf() None#

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#

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

References

apply_patches() None#

Apply all monkeypatches!