diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 557f64d3..b1860078 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: diff --git a/appbuilder/utils/model_util.py b/appbuilder/utils/model_util.py index 91270594..639490b1 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