diff libervia/server/pages_tools.py @ 1509:106bae41f5c8

massive refactoring from camelCase -> snake_case. See backend commit log for more details
author Goffi <goffi@goffi.org>
date Sat, 08 Apr 2023 13:44:11 +0200
parents 907f519faaf0
children
line wrap: on
line diff
--- a/libervia/server/pages_tools.py	Fri Apr 07 15:20:40 2023 +0200
+++ b/libervia/server/pages_tools.py	Sat Apr 08 13:44:11 2023 +0200
@@ -32,7 +32,7 @@
     return data_format.deserialise(comments_data_s)
 
 
-def retrieveComments(self, service, node, profile, pass_exceptions=True):
+def retrieve_comments(self, service, node, profile, pass_exceptions=True):
     """Retrieve comments from server and convert them to data objects
 
     @param service(unicode): service holding the comments
@@ -42,8 +42,8 @@
         else exception will be raised
     """
     try:
-        d = self.host.bridgeCall(
-            "mbGet", service, node, C.NO_LIMIT, [], data_format.serialise({}), profile
+        d = self.host.bridge_call(
+            "mb_get", service, node, C.NO_LIMIT, [], data_format.serialise({}), profile
         )
     except Exception as e:
         if not pass_exceptions: