You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is too much work to fix for the upcoming release. Clearly calling the asynchronous implementation from a synchronous context isn't working for every situation.
Can you please call async def invoke_method_async instead?
We basically need synchronous method implementation of DaprHttpClient and then use that in the invoke_method implementation in DaprInvocationHttpClient. And we need additional tests for this.
For the time being, please use the example shown here which uses Python requests directly for a basic service invocation call. As long as you set the dapr-app-id header and specify the sidecar address as destination, any path will be routed to the target app and invoked accordingly. There is no need to use the Python SDK.
When the loop is already running, the following line will raise the
RuntimeError: This event loop is already running
:python-sdk/dapr/clients/http/dapr_invocation_http_client.py
Line 161 in 033acbc
This happens when the following line returns an already running loop:
python-sdk/dapr/clients/http/dapr_invocation_http_client.py
Line 147 in 033acbc
The text was updated successfully, but these errors were encountered: