vapoursynth / vsrepo

A simple package repository for VapourSynth
MIT License
113 stars 29 forks source link

VideoNode.output type hint #140

Closed Ichunjo closed 3 years ago

Ichunjo commented 3 years ago

The documentation says we can use a function of the form func(current_frame, total_frames) to to progress_update.

https://github.com/vapoursynth/vsrepo/blob/49a39b4ec03cc44101c3b83932e44db266d68014/vsgenstubs/_vapoursynth.part.pyi#L382

Shouldn't typing be something like that:

progress_update: typing.Optional[typing.Callable[[int, int]]]=None
myrsloik commented 3 years ago

Definitely look wrong, will take a look

myrsloik commented 3 years ago

Probably fixed now