From cf7bc04c696768bb39e6046713707051db139494 Mon Sep 17 00:00:00 2001 From: vcidst Date: Mon, 28 Oct 2024 11:55:26 +0100 Subject: [PATCH] update grpc code --- .vscode/settings.json | 7 ------- Makefile | 4 +--- rasa_sdk/grpc_py/action_webhook_pb2.py | 1 - 3 files changed, 1 insertion(+), 11 deletions(-) delete mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index 9b388533..00000000 --- a/.vscode/settings.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "python.testing.pytestArgs": [ - "tests" - ], - "python.testing.unittestEnabled": false, - "python.testing.pytestEnabled": true -} \ No newline at end of file diff --git a/Makefile b/Makefile index 0adad188..a7ecef42 100644 --- a/Makefile +++ b/Makefile @@ -115,9 +115,7 @@ generate-grpc: ## generate grpc code --pyi_out=. \ proto/action_webhook.proto -check-generate-grpc-code-in-sync: generate-grpc -check-generate-grpc-code-in-sync: ## check if the generated code is in sync with the proto files - # this is a helper to check if the generated code is in sync with the proto files +check-generate-grpc-code-in-sync: generate-grpc ## check if the generated code is in sync with the proto files, it uses a helper to check if the generated code is in sync with the proto files git diff --exit-code rasa_sdk/grpc_py | if [ "$$(wc -c)" -eq 0 ]; then echo "Generated code is in sync with proto files"; else echo "Generated code is not in sync with proto files"; exit 1; fi GRPC_STANDALONE_SERVER_INTEGRATION_TEST_RESULTS_FILE = grpc-standalone-server-integration-test-results.xml diff --git a/rasa_sdk/grpc_py/action_webhook_pb2.py b/rasa_sdk/grpc_py/action_webhook_pb2.py index 385d0ed6..1b09dbf3 100644 --- a/rasa_sdk/grpc_py/action_webhook_pb2.py +++ b/rasa_sdk/grpc_py/action_webhook_pb2.py @@ -20,7 +20,6 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'rasa_sdk.grpc_py.action_webhook_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: - DESCRIPTOR._options = None _TRACKER_ACTIVELOOPENTRY._options = None _TRACKER_ACTIVELOOPENTRY._serialized_options = b'8\001'