Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwurstsalat <mailtrash@posteo.de>2023-06-07 22:45:55 +0300
committerwurstsalat <mailtrash@posteo.de>2023-06-07 23:14:41 +0300
commit6fb6eea6710015f8949b0b01ad6ec10947443677 (patch)
treeccc85249b8f7298a7d355a35e7ef814cbb9cea04
parent10388f0133221ef0527aa333f68cc367bf2325b4 (diff)
cq: AdditionalDataDict: Improve type annotation
-rw-r--r--gajim/common/helpers.py3
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