proxy.py 文件源码

python
阅读 26 收藏 0 点赞 0 评论 0

项目:adbus 作者: ccxtechnologies 项目源码 文件源码
def _update_interfaces(self):
        self._interfaces = {}

        root = etree.fromstring(self._introspect_xml)
        for e in root.iter('interface'):
            name = e.attrib['name']
            self._interfaces[name] = Interface(
                    self, self._service, self._address, self._path, e,
                    self._camel_convert, self._timeout_ms,
                    self._changed_coroutines.get(name, None)
            )

        for e in root.iter('node'):
            try:
                self._nodes.append(e.attrib['name'])
            except KeyError:
                pass
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号