Description: drop unresolvable type annotations Author: Martin Origin: vendor Last-Update: 2026-04-24 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- a/libervia/backend/plugins/plugin_xep_0115.py +++ b/libervia/backend/plugins/plugin_xep_0115.py @@ -98,7 +98,7 @@ log.info(_("Plugin XEP_0115 initialization")) host.trigger.add("Presence send", self._presence_trigger) - def get_handler(self, client: SatXMPPEntity) -> XEP_0115_handler: + def get_handler(self, client: SatXMPPEntity): return XEP_0115_handler(self) async def _prepare_caps(self, client: SatXMPPEntity) -> None: @@ -426,7 +426,7 @@ requestor: SatXMPPEntity, target: SatXMPPEntity, nodeIdentifier: str = "", - ) -> list[disco.DiscoFeature | disco.DiscoIdentity | disco.DiscoExtension]: + ) -> list[disco.DiscoFeature | disco.DiscoIdentity]: """ Handle disco#info requests, including caps node queries.