-
-
Notifications
You must be signed in to change notification settings - Fork 348
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add executable
kwarg to trio.run_process type hints
#3183
Comments
Hello, we tried to solve the issue. This is what we did: Add the 'executable' parameter to the type hints for the run_process function in both Windows and Unix overloads. This will resolve the Pyright complaint about the missing 'executable' kwarg. You can review changes in this commit: clivinn-shla81092@a83f9d7. Caution Disclaimer: The concept of solution was created by AI and you should never copy paste this code before you check the correctness of generated code. Solution might not be complete, you should use this code as an inspiration only. Latta AI seeks to solve problems in open source projects as part of its mission to support developers around the world. Learn more about our mission at https://latta.ai/ourmission . If you no longer want Latta AI to attempt solving issues on your repository, you can block this account. |
Absolutely, and it looks like we're missing other kwargs in the signature too. (and same for
Feel free to make a PR -- you'll have to add some
Done! |
That |
I don't think this is possible because typeshed structures its overloads differently to ours (eg no platform specific ones) |
The
executable
kwarg is missing from the type hints oftrio.run_process
. It works at run time but Pyright is complaining.The text was updated successfully, but these errors were encountered: