You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Generate .pyi files in py_proto_library (#10366) (#21567)
We here adjust py_proto_library to produce `.pyi` files along with the `.py` files it already generates. This achieves the same effect as the gRPC py_proto_library.Per reviewer feedback, we here propagate the paths to the `.pyi`files via the `direct_pyi_files` and `transitive_pyi_files` membersof `PyInfo` which are available starting in `rules_python` 1.1.0.Since this means that the files are not automatically in the runfilesof the `py_proto_library`, tooling to run mypy will need to beadjusted to add what is needed from these provider fields to therunfiles if that is what is wanted.Closes#10366.Closes#21567COPYBARA_INTEGRATE_REVIEW=#21567 from dws:py_proto_library-pyi37fbdc0PiperOrigin-RevId: 778116905