equal
deleted
inserted
replaced
366 self._ = self.__ = unicode |
366 self._ = self.__ = unicode |
367 self.pgettext = lambda x, y: unicode(y) |
367 self.pgettext = lambda x, y: unicode(y) |
368 |
368 |
369 # server-side service call ################################################# |
369 # server-side service call ################################################# |
370 |
370 |
371 def call_service(self, regid, async=False, **kwargs): |
371 def call_service(self, regid, **kwargs): |
372 return self.cnx.call_service(regid, async, **kwargs) |
372 return self.cnx.call_service(regid, **kwargs) |
373 |
373 |
374 # entities cache management ############################################### |
374 # entities cache management ############################################### |
375 |
375 |
376 def entity_cache(self, eid): |
376 def entity_cache(self, eid): |
377 return self._eid_cache[eid] |
377 return self._eid_cache[eid] |
594 pass |
594 pass |
595 |
595 |
596 # server-side service call ################################################# |
596 # server-side service call ################################################# |
597 |
597 |
598 @check_not_closed |
598 @check_not_closed |
599 def call_service(self, regid, async=False, **kwargs): |
599 def call_service(self, regid, **kwargs): |
600 return self._repo.call_service(self.sessionid, regid, async, **kwargs) |
600 return self._repo.call_service(self.sessionid, regid, **kwargs) |
601 |
601 |
602 # connection initialization methods ######################################## |
602 # connection initialization methods ######################################## |
603 |
603 |
604 def load_appobjects(self, cubes=_MARKER, subpath=None, expand=True): |
604 def load_appobjects(self, cubes=_MARKER, subpath=None, expand=True): |
605 config = self.vreg.config |
605 config = self.vreg.config |