python: Install basedpyright if the basedpyright-langserver binary is missing (#38426)

Potential fix for #38377 

Release Notes:

- N/A

---------

Co-authored-by: Peter Tripp <petertripp@gmail.com>
5fccde9b1bCole Miller committed on 9/18/2025, 6:45:02 PM· committed by GitHubparentc58763a
2 files changedLine totals unavailable