-
-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dbusutil: Type hinting improvements (#437)
* dbusutil: Type hinting improvements * dbusutil: adjust dbus_progress_message hints While general DBus argument dicts could have any value, for the progress message we know the expected valid types for the message (int or float for progress, int for count, and bool for the visible setting). We can type this more explicitly than a generic 'Any'. * dbusutil: return `bool` in functions
- Loading branch information
Showing
2 changed files
with
30 additions
and
13 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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