@@ -140,38 +140,4 @@ Open the Web UI and select a workflow, you'll only see encrypted results. To see
140140Once those requirements are met you can then see the unencrypted results. This is possible because
141141CORS settings in the codec server allow the browser to access the codec server directly over
142142localhost. Decrypted data never leaves your local machine. See [ Codec
143- Server] ( https://docs.temporal.io/production-deployment/data-encryption )
144-
145- ## Protobuf
146-
147- > [ !WARNING]
148- > You will not normally need to rebuild protobuf support; the generated files have been committed to
149- > this repo. The instructions are included because:
150- > - If the API changes these steps will need to be followed to get those changes
151- > - A reminder of how to generate the protobuf files for python 😃
152-
153- To rebuild protobuf support.
154-
155- 1 . Install the python [ grpc_tools] ( https://grpc.io/docs/languages/python/quickstart/ ) for protobufs.
156- 1 . Clone the following two repositories (you need to copy files from them, they can be deleted after
157- setup):
158-
159- ``` sh
160- git clone https://github.com/temporalio/api-cloud.git
161- git clone https://github.com/googleapis/googleapis.git
162- ```
163-
164- 3 . Copy the ` temporal ` directory and its contents, from ` api_cloud ` into the root of this ** project** .
165- 1 . Copy the ` google ` directory and its contents, from ` googleapis ` into the root of this
166- ** project** .
167- 1 . From the project root generate the python wrappers for each subdirectory of ` temporal/api/cloud `
168- and ` google/api ` like so:
169-
170- ``` sh
171- python -m grpc_tools.protoc -I./ --python_out=./ --grpc_python_out=./ temporal/api/cloud/cloudservice/v1/* .proto
172- python -m grpc_tools.protoc -I./ --python_out=./ --grpc_python_out=./ temporal/api/cloud/identity/v1/* .proto
173- python -m grpc_tools.protoc -I./ --python_out=./ --grpc_python_out=./ temporal/api/cloud/namespace/v1/* .proto
174- python -m grpc_tools.protoc -I./ --python_out=./ --grpc_python_out=./ temporal/api/cloud/operation/v1/* .proto
175- python -m grpc_tools.protoc -I./ --python_out=./ --grpc_python_out=./ temporal/api/cloud/region/v1/* .proto
176- python -m grpc_tools.protoc -I./ --python_out=./ --grpc_python_out=./ google/api/* .proto
177- ```
143+ Server] ( https://docs.temporal.io/production-deployment/data-encryption )
0 commit comments