wamp.py 文件源码

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

项目:juno-magic 作者: DigitalGlobe 项目源码 文件源码
def handle_iopub_msg(msg):
    if msg["msg_type"] == "status":
        if msg["content"]["execution_state"] == "idle":
            parent_id = msg["parent_header"]["msg_id"]
            try:
                status_msg_cache[parent_id].callback(True)
            except AlreadyCalledError:
                pass
            reactor.callLater(1.0, clean_cache, status_msg_cache, key=parent_id)
    if "idle" in status_msg_cache:
        if not status_msg_cache["idle"].called:
            status_msg_cache["idle"].callback(True)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号