From 75324c06b2e349684de4b2f9d9372f2e8b2ef0a3 Mon Sep 17 00:00:00 2001 From: ideoutrea Date: Thu, 7 Mar 2024 11:33:48 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=89=8B=E5=8A=A8?= =?UTF-8?q?=E8=A7=A6=E5=8F=91=E6=B5=81=E6=B0=B4=E7=BA=BF=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/python-package.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 557f64d3d..b18600784 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -4,6 +4,7 @@ name: Python package on: + workflow_dispatch: push: branches: [ "master" ] pull_request: From 2288b91f536820e5c2244aed96487f3cdf926c1e Mon Sep 17 00:00:00 2001 From: ideoutrea Date: Tue, 12 Mar 2024 15:50:38 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=BF=BD=E7=95=A5=E6=9C=AA=E7=9F=A5?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=EF=BC=8C=E9=81=BF=E5=85=8D=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- appbuilder/utils/model_util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appbuilder/utils/model_util.py b/appbuilder/utils/model_util.py index 91270594b..639490b1c 100644 --- a/appbuilder/utils/model_util.py +++ b/appbuilder/utils/model_util.py @@ -234,7 +234,7 @@ def list(self, request: GetModelListRequest = None, timeout: float = None, self.http_client.check_response_json(data) request_id = self.http_client.response_request_id(response) self.__class__._check_service_error(request_id, data) - response = GetModelListResponse.from_json(payload=json.dumps(data)) + response = GetModelListResponse.from_json(payload=json.dumps(data), ignore_unknown_fields=True) response.request_id = request_id return response