Closed tlambert03 closed 1 year ago
Patch coverage: 100.00%
and project coverage change: -0.76%
:warning:
Comparison is base (
41ea4e8
) 86.05% compared to head (aac1d14
) 85.29%. Report is 1 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
similar to #183, this fixes calling a qdebounced/qthrottled function with too many arguments
I had to do it manually here (meaning pass
func(*args[:max_args])
), because of a bug in pyside that prevents proper inspection of callable objects: https://bugreports.qt.io/browse/PYSIDE-2423This PR also changes the decorator pattern to return an instance of ThrottledCallable (whereas before it just returned an object that implemented the protocol). I think it makes for a much clearer read