Philipp Hörist pushed to branch master at gajim / gajim
Commits:
0c9fd418 by Philipp Hörist at 2025-01-26T18:16:49+01:00
cq: Plugins: Fix type annotation
- - - - -
1 changed file:
- gajim/plugins/gajimplugin.py
Changes:
=====================================
gajim/plugins/gajimplugin.py
=====================================
@@ -9,12 +9,12 @@
import logging
import os
import pickle
+import types
from collections.abc import Generator
from gajim.common import configpaths
from gajim.common.events import ApplicationEvent
from gajim.common.ged import HandlerFuncT
-from gajim.common.modules.base import BaseModule
from gajim.common.types import PluginExtensionPoints
from .manifest import PluginManifest
@@ -71,7 +71,7 @@ class GajimPlugin:
'''
New network event classes to be registered in Network Events Controller.
'''
- modules: list[BaseModule] = []
+ modules: list[types.ModuleType] = []
def __init__(self) -> None:
self.config = GajimPluginConfig(self)
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/0c9fd4185f10ec63e58bead6174ce3e6ecbd5d80
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/0c9fd4185f10ec63e58bead6174ce3e6ecbd5d80
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]