Changed python commands

Signed-off-by: Amulya Varote <amulyavarote@MININT-8V4CL0S.redmond.corp.microsoft.com>
This commit is contained in:
Amulya Varote 2021-12-03 08:41:48 -08:00 committed by Amulya Varote
parent a29dd2233d
commit cbdd2d4421
2 changed files with 3 additions and 3 deletions

View File

@ -93,7 +93,7 @@ spec:
## 2. Send an event(Output Binding)
Below are code examples that leverage Dapr SDKs for saving and retrieving a single state.
Below are code examples that leverage Dapr SDKs for output binding.
{{< tabs Dotnet Java Python Go Javascript>}}
@ -186,7 +186,7 @@ logging.info('Sending message: ' + str(orderId))
Navigate to the directory containing the above code, then run the following command to launch a Dapr sidecar and run the application:
```bash
dapr run --app-id orderprocessing --app-port 6001 --dapr-http-port 3601 --dapr-grpc-port 60001 -- python3 OrderProcessingService.py
dapr run --app-id orderprocessing --app-port 6001 --dapr-http-port 3601 --app-protocol grpc python3 OrderProcessingService.py
```
{{% /codetab %}}

View File

@ -190,7 +190,7 @@ app.run(6002)
Navigate to the directory containing the above code, then run the following command to launch a Dapr sidecar and run the application:
```bash
dapr run --app-id checkout --app-port 6002 --dapr-http-port 3602 --dapr-grpc-port 60002 -- python3 CheckoutService.py
dapr run --app-id checkout --app-port 6002 --dapr-http-port 3602 --app-protocol grpc -- python3 CheckoutService.py
```
{{% /codetab %}}