diff options
author | wurstsalat <mailtrash@posteo.de> | 2023-06-07 22:45:55 +0300 |
---|---|---|
committer | wurstsalat <mailtrash@posteo.de> | 2023-06-07 23:14:41 +0300 |
commit | 6fb6eea6710015f8949b0b01ad6ec10947443677 (patch) | |
tree | ccc85249b8f7298a7d355a35e7ef814cbb9cea04 | |
parent | 10388f0133221ef0527aa333f68cc367bf2325b4 (diff) |
cq: AdditionalDataDict: Improve type annotation
-rw-r--r-- | gajim/common/helpers.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gajim/common/helpers.py b/gajim/common/helpers.py index 3f791d29d..3a491ce1c 100644 --- a/gajim/common/helpers.py +++ b/gajim/common/helpers.py @@ -806,7 +806,8 @@ class AdditionalDataDict(collections.UserDict): def get_value(self, full_path: str, key: str, - default: str | None = None) -> Any | None: + default: str | bool | None = None + ) -> Any | None: path_childs = self._get_path_childs(full_path) _dict = self.data |