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