python: Install basedpyright with npm instead of pip (#38471)

Closes #ISSUE

Release Notes:

- N/A *or* Added/Fixed/Improved ...
430ac5175fCole Miller committed on 9/19/2025, 1:14:52 PM· committed by GitHubparent5f728ef
2 files changedLine totals unavailable