Complete public API type stubs - #2415
Open
Robolightning wants to merge 2 commits into
Open
Robolightning wants to merge 2 commits into
Robolightning wants to merge 2 commits into
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary: fill public runtime API gaps in seven colocated pyi files only. Adds AudioResampler.is_passthrough; Filter.inputs and outputs; ContainerFormat.input and output; VideoFormatComponent.index; HWDeviceType amf and ohcodec plus HWAccel flags and allow_software_fallback; corrects FFmpegError filename and log as read-only properties with the runtime tuple shape; and exposes VideoFrame.set_image. No runtime changes. Validation: branch is one commit ahead and zero behind current upstream main with only seven pyi files changed; git diff --check passes; mypy on all seven changed stubs with real NumPy passes; targeted stubtest against the exact native cp314t runtime confirms all specifically fixed mismatches are gone; Pyright 1.1.414 strict consumer exercising every new member reports 0 errors, 0 warnings, 0 informations. Broader constructor, final, disjoint-base, Cython-internal, and dynamic-forwarding findings are intentionally outside this small patch.