Skip to content

Complete public API type stubs - #2415

Open
Robolightning wants to merge 2 commits into
PyAV-Org:mainfrom
StableKite:typing/public-api-stubs
Open

Robolightning wants to merge 2 commits into
PyAV-Org:mainfrom
StableKite:typing/public-api-stubs

Conversation

@Robolightning

Copy link
Copy Markdown

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.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant