This example utilizes a receiver and a caller for the invoke_method functionality.
Note: Make sure to use the latest proto bindings
You can install dapr SDK package using pip command:
pip3 install daprAlso install Flask package:
pip3 install FlaskTo run this example, the following code can be utilized:
Start the receiver:
dapr run --app-id=invoke-receiver --app-port=8088 --app-protocol http -- python3 invoke-receiver.pyStart the caller:
dapr run --app-id=invoke-caller -- python3 invoke-caller.pydapr stop --app-id invoke-receiver