view.py 文件源码

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

项目:irisett 作者: beebyte 项目源码 文件源码
def _get_request_monitor(self, request: web.Request) -> ActiveMonitor:
        monitor_id = require_int(cast(str, get_request_param(request, 'id')))
        monitor = request.app['active_monitor_manager'].monitors.get(monitor_id, None)
        if not monitor:
            raise errors.NotFound()
        return monitor
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号