Philipp Hörist pushed to branch master at gajim / gajim
Commits:
d30ef974 by Philipp Hörist at 2026-08-08T01:05:54+02:00
cq: Use forward type reference
Otherwise Gajim will not start, because the types are only imported when the
type checker runs
- - - - -
1 changed file:
- gajim/common/app.py
Changes:
=====================================
gajim/common/app.py
=====================================
@@ -67,9 +67,9 @@
avatar_cache: dict[str, dict[str, Any]] = {}
bob_cache: dict[str, bytes] = {}
services_cache: dict[str, Any] = {}
-app = cast(GajimApplication, None)
-window = cast(MainWindow, None)
-commands = cast(ChatCommands, None)
+app = cast("GajimApplication", None)
+window = cast("MainWindow", None)
+commands = cast("ChatCommands", None)
logging_records: list[str] = []
ged = ged_module.GlobalEventsDispatcher() # Global Events Dispatcher
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/d30ef97407ddc9ae3e5355a0f55059028cf12b13
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/d30ef97407ddc9ae3e5355a0f55059028cf12b13
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]