From c849c5cfedc5b5443d6fea9d2ce6d8e07f926ccd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=88=91=E5=8F=AB=E4=BB=A5=E8=B5=8F?= <422880152@qq.com> Date: Mon, 13 Feb 2023 00:20:58 +0000 Subject: [PATCH] update applications/common/curd.py. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 我叫以赏 <422880152@qq.com> --- applications/common/curd.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/applications/common/curd.py b/applications/common/curd.py index 097a1dd..9a4f16c 100644 --- a/applications/common/curd.py +++ b/applications/common/curd.py @@ -44,8 +44,6 @@ def auto_model_jsonify(data, model: db.Model): def model_to_dicts(schema: ma.Schema, data): """ - 将模型查询的数据对象转化为字典 - :param schema: schema类 :param model: sqlalchemy查询结果 :return: 返回单个查询结果