comparison src/bridge/bridge_constructor/base_constructor.py @ 2091:f413bfc24458

bridge, quick_frontend: preparation for async bridge bridge can currently have sync and async methods. This commit prepare the transition to fully async bridges: - a new bridgeConnect method must be called to prepare the bridge - quick app, quick profile manager: changed sync calls to async ones - quick app: bridgeConnect can be called automatically or manually depending on connect_bridge parameter of QuickApp
author Goffi <goffi@goffi.org>
date Tue, 13 Dec 2016 22:27:48 +0100
parents 159250d66407
children 8b37a62336c3
comparison
equal deleted inserted replaced
2090:52bd463e6fe7 2091:f413bfc24458
174 174
175 @param signature: signature in the short form (using s,a,i,b etc) 175 @param signature: signature in the short form (using s,a,i,b etc)
176 @param name: dictionary of arguments name like given by getArgumentsDoc 176 @param name: dictionary of arguments name like given by getArgumentsDoc
177 @param default: dictionary of default values, like given by getDefault 177 @param default: dictionary of default values, like given by getDefault
178 @param unicode_protect: activate unicode protection on strings (return strings as unicode(str)) 178 @param unicode_protect: activate unicode protection on strings (return strings as unicode(str))
179 @return: list of arguments that correspond to a signature (e.g.: "sss" return "arg1, arg2, arg3") 179 @return (str): arguments that correspond to a signature (e.g.: "sss" return "arg1, arg2, arg3")
180 """ 180 """
181 idx = 0 181 idx = 0
182 attr_string = [] 182 attr_string = []
183 183
184 for arg in self.argumentsParser(signature): 184 for arg in self.argumentsParser(signature):