def __init__(self, channel): self._closed = False self._local_namespace = {} self.channel = channel self.box = Box(self) self.async_replies = {} self.sync_replies = {} self.module_cache = {} self.remote_conn = self.sync_request("handle_getconn") # user APIs: self.modules = RootImporter(self) self.namespace = AttrFrontend(self.remote_conn._local_namespace) self.execute("")