interface.py 文件源码

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

项目:pyvlx 作者: Julius2342 项目源码 文件源码
def _do_http_request(self, url, body, headers):
        try:
            return await self._do_http_request_impl(url, body, headers)
        except asyncio.TimeoutError:
            raise PyVLXException("Request timeout when talking to VELUX API")
        except aiohttp.ClientError:
            raise PyVLXException("HTTP error when talking to VELUX API")
        except OSError:
            raise PyVLXException("OS error when talking to VELUX API")
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号