Skip to content

Python SDK: document the asyncio gRPC app (dapr.ext.grpc.aio) - #5350

Open
saikishore-p wants to merge 1 commit into
dapr:v1.19from
saikishore-p:python-grpc-aio
Open

saikishore-p wants to merge 1 commit into
dapr:v1.19from
saikishore-p:python-grpc-aio

Conversation

@saikishore-p

Copy link
Copy Markdown

Thank you for helping make the Dapr documentation better!

Please follow this checklist before submitting:

  • Commits are signed with Developer Certificate of Origin (DCO - learn more)
  • Read the contribution guide
  • Commands include options for Linux, MacOS, and Windows within tabpane — n/a, the only command is pip install
  • New file and folder names are globally unique — n/a, no new files
  • Page references use shortcodes instead of markdown or URL links — the new links point to sample code on GitHub, matching the existing page
  • Images use HTML style and have alternative text — n/a
  • Places where multiple code/command options are given have tabpane — n/a

In addition, please fill out the following to help reviewers understand this pull request:

Description

Adds an "Asyncio" section to the Python gRPC extension page for dapr.ext.grpc.aio, the asyncio counterpart of dapr.ext.grpc.App, added in dapr/python-sdk#1206 and shipping in SDK 1.19.

The section mirrors the page's existing service invocation, pub/sub and input binding examples with async def handlers, and lists how the asyncio app differs from the synchronous one.

Targets v1.19 because the module doesn't exist in 1.18. The two sample links point at examples added in dapr/python-sdk#1206, so they resolve once that PR merges.

Issue reference

Requested in review on dapr/python-sdk#1206. Related: dapr/python-sdk#695.

Adds a section for dapr.ext.grpc.aio, the asyncio counterpart of the gRPC
App, which ships in Python SDK 1.19 (dapr/python-sdk#1206). It covers service
invocation, topic subscriptions and input bindings with async handlers, and
how the asyncio app differs from the synchronous one.

Signed-off-by: Sai Kishore Punagani <63619246+saikishore-p@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant