resource.py 文件源码

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

项目:falcon-sqlalchemy 作者: vixcess 项目源码 文件源码
def on_get(self, req: Request, res: Response, item_id):
        with self.make_session() as session:
            item = self.get_item(item_id, session)
            if item is None:
                raise falcon.HTTPNotFound()
            put_json_to_context(res, item.to_dict())
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号