Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: avoid expensive runtime inspection of known callables #277

Merged
merged 1 commit into from
Jan 16, 2024

Conversation

bdraco
Copy link
Member

@bdraco bdraco commented Jan 16, 2024

Avoid calling _check_callback_type when we know the callable being passed is correct since they are created internally

Avoid calling _check_callback_type when we know the callable being
passed is correct
Copy link

codecov bot commented Jan 16, 2024

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (2b8770b) 83.42% compared to head (97951bf) 83.49%.
Report is 1 commits behind head on main.

Files Patch % Lines
src/dbus_fast/__version__.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #277      +/-   ##
==========================================
+ Coverage   83.42%   83.49%   +0.06%     
==========================================
  Files          28       28              
  Lines        3295     3296       +1     
  Branches      684      685       +1     
==========================================
+ Hits         2749     2752       +3     
  Misses        332      332              
+ Partials      214      212       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@bdraco bdraco marked this pull request as ready for review January 16, 2024 17:58
@bdraco bdraco merged commit 0271825 into main Jan 16, 2024
19 checks passed
@bdraco bdraco deleted the inspect_fail_fix branch January 16, 2024 18:16
QuintinHill added a commit to QuintinHill/openwrt-packages that referenced this pull request Jan 26, 2024
fix: avoid expensive runtime inspection of known callables (Bluetooth-Devices/dbus-fast#277)
Signed-off-by: Quintin Hill <[email protected]>
1715173329 pushed a commit to openwrt/packages that referenced this pull request Jan 29, 2024
fix: avoid expensive runtime inspection of known callables (Bluetooth-Devices/dbus-fast#277)
Signed-off-by: Quintin Hill <[email protected]>
QuintinHill added a commit to QuintinHill/openwrt-packages that referenced this pull request Jan 30, 2024
fix: avoid expensive runtime inspection of known callables (Bluetooth-Devices/dbus-fast#277)
Signed-off-by: Quintin Hill <[email protected]>
(cherry picked from commit 8db974d)
neheb pushed a commit to openwrt/packages that referenced this pull request Feb 5, 2024
fix: avoid expensive runtime inspection of known callables (Bluetooth-Devices/dbus-fast#277)
Signed-off-by: Quintin Hill <[email protected]>
(cherry picked from commit 8db974d)
PeterFromSweden pushed a commit to PeterFromSweden/packages that referenced this pull request Feb 10, 2024
fix: avoid expensive runtime inspection of known callables (Bluetooth-Devices/dbus-fast#277)
Signed-off-by: Quintin Hill <[email protected]>
NoctivagusObitus pushed a commit to NoctivagusObitus/packages that referenced this pull request Feb 22, 2024
fix: avoid expensive runtime inspection of known callables (Bluetooth-Devices/dbus-fast#277)
Signed-off-by: Quintin Hill <[email protected]>
db260179 pushed a commit to db260179/openwrt-packages that referenced this pull request Mar 16, 2024
fix: avoid expensive runtime inspection of known callables (Bluetooth-Devices/dbus-fast#277)
Signed-off-by: Quintin Hill <[email protected]>
(cherry picked from commit 8db974d)
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