diff libervia/backend/plugins/plugin_xep_0048.py @ 4334:111dce64dcb5

plugins XEP-0300, XEP-0446, XEP-0447, XEP0448 and others: Refactoring to use Pydantic: Pydantic models are used more and more in Libervia, for the bridge API, and also to convert `domish.Element` to internal representation. Type hints have also been added in many places. rel 453
author Goffi <goffi@goffi.org>
date Tue, 03 Dec 2024 00:12:38 +0100
parents 554a87ae17a6
children
line wrap: on
line diff
--- a/libervia/backend/plugins/plugin_xep_0048.py	Tue Dec 03 00:11:00 2024 +0100
+++ b/libervia/backend/plugins/plugin_xep_0048.py	Tue Dec 03 00:12:38 2024 +0100
@@ -422,10 +422,7 @@
             raise NotImplementedError
 
     def bookmarks_list(
-            self,
-            type_: str,
-            storage_location: str,
-            profile_key: str = C.PROF_KEY_NONE
+        self, type_: str, storage_location: str, profile_key: str = C.PROF_KEY_NONE
     ) -> defer.Deferred[dict]:
         """Return stored bookmarks