-
Notifications
You must be signed in to change notification settings - Fork 137
Conversation API support #787
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation API support #787
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## release-1.15 #787 +/- ##
===============================================
Coverage ? 86.39%
===============================================
Files ? 89
Lines ? 5064
Branches ? 0
===============================================
Hits ? 4375
Misses ? 689
Partials ? 0 ☔ View full report in Codecov by Sentry. |
| [](https://github.com/dapr/python-sdk/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22) | ||
| [](http://bit.ly/dapr-discord) | ||
| [](https://youtube.com/@daprdev) | ||
| <!-- IGNORE_LINKS --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is needed because x.com profiles are not public anymore and return 403, making the Mechanical markdown validation fail.
marcduiker
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added two suggestions for the PII scrubbing
Signed-off-by: Elena Kolevska <elena@kolevska.com>
Signed-off-by: Elena Kolevska <elena@kolevska.com>
Signed-off-by: Elena Kolevska <elena@kolevska.com>
Signed-off-by: Elena Kolevska <elena@kolevska.com>
Co-authored-by: Marc Duiker <marcduiker@users.noreply.github.com> Signed-off-by: Elena Kolevska <elena-kolevska@users.noreply.github.com>
036d9d8 to
a642176
Compare
Signed-off-by: Elena Kolevska <elena@kolevska.com>
a642176 to
9bf0e27
Compare
Signed-off-by: Elena Kolevska <elena@kolevska.com>
e769371 to
9686dee
Compare
* Conversation API support (sync) Signed-off-by: Elena Kolevska <elena@kolevska.com> * async conversation api support Signed-off-by: Elena Kolevska <elena@kolevska.com> * Adds docs Signed-off-by: Elena Kolevska <elena@kolevska.com> * Ignore validation of x.com link that needs authentication Signed-off-by: Elena Kolevska <elena@kolevska.com> * Registers e2e test. Clean up. Signed-off-by: Elena Kolevska <elena@kolevska.com> * Apply suggestions from code review Co-authored-by: Marc Duiker <marcduiker@users.noreply.github.com> Signed-off-by: Elena Kolevska <elena-kolevska@users.noreply.github.com> * Linter Signed-off-by: Elena Kolevska <elena@kolevska.com> * Updates protos and renames parameter Signed-off-by: Elena Kolevska <elena@kolevska.com> * Improves error handling Signed-off-by: Elena Kolevska <elena@kolevska.com> --------- Signed-off-by: Elena Kolevska <elena@kolevska.com> Signed-off-by: Elena Kolevska <elena-kolevska@users.noreply.github.com> Co-authored-by: Marc Duiker <marcduiker@users.noreply.github.com> Signed-off-by: Elena Kolevska <elena@kolevska.com>
* Conversation API support (sync) Signed-off-by: Elena Kolevska <elena@kolevska.com> * async conversation api support Signed-off-by: Elena Kolevska <elena@kolevska.com> * Adds docs Signed-off-by: Elena Kolevska <elena@kolevska.com> * Ignore validation of x.com link that needs authentication Signed-off-by: Elena Kolevska <elena@kolevska.com> * Registers e2e test. Clean up. Signed-off-by: Elena Kolevska <elena@kolevska.com> * Apply suggestions from code review Co-authored-by: Marc Duiker <marcduiker@users.noreply.github.com> Signed-off-by: Elena Kolevska <elena-kolevska@users.noreply.github.com> * Linter Signed-off-by: Elena Kolevska <elena@kolevska.com> * Updates protos and renames parameter Signed-off-by: Elena Kolevska <elena@kolevska.com> * Improves error handling Signed-off-by: Elena Kolevska <elena@kolevska.com> --------- Signed-off-by: Elena Kolevska <elena@kolevska.com> Signed-off-by: Elena Kolevska <elena-kolevska@users.noreply.github.com> Co-authored-by: Marc Duiker <marcduiker@users.noreply.github.com>
* Conversation API support (sync) Signed-off-by: Elena Kolevska <elena@kolevska.com> * async conversation api support Signed-off-by: Elena Kolevska <elena@kolevska.com> * Adds docs Signed-off-by: Elena Kolevska <elena@kolevska.com> * Ignore validation of x.com link that needs authentication Signed-off-by: Elena Kolevska <elena@kolevska.com> * Registers e2e test. Clean up. Signed-off-by: Elena Kolevska <elena@kolevska.com> * Apply suggestions from code review Co-authored-by: Marc Duiker <marcduiker@users.noreply.github.com> Signed-off-by: Elena Kolevska <elena-kolevska@users.noreply.github.com> * Linter Signed-off-by: Elena Kolevska <elena@kolevska.com> * Updates protos and renames parameter Signed-off-by: Elena Kolevska <elena@kolevska.com> * Improves error handling Signed-off-by: Elena Kolevska <elena@kolevska.com> --------- Signed-off-by: Elena Kolevska <elena@kolevska.com> Signed-off-by: Elena Kolevska <elena-kolevska@users.noreply.github.com> Co-authored-by: Marc Duiker <marcduiker@users.noreply.github.com> Signed-off-by: Elena Kolevska <elena@kolevska.com>
* Catch error in sdk when workflow instance not found (#771) * Catch error in sdk when workflow instance not found Signed-off-by: Elena Kolevska <elena@kolevska.com> * fixes demo workflow example test Signed-off-by: Elena Kolevska <elena@kolevska.com> * Only return None for the correct error Signed-off-by: Elena Kolevska <elena@kolevska.com> * Adds test Signed-off-by: Elena Kolevska <elena@kolevska.com> * Linter Signed-off-by: Elena Kolevska <elena@kolevska.com> * Extends test Signed-off-by: Elena Kolevska <elena@kolevska.com> --------- Signed-off-by: Elena Kolevska <elena@kolevska.com> * Fix get_worfklow_state docstring to match fetch_payloads default (#772) Signed-off-by: Adam Stewart <adam.stewart73@gmail.com> Co-authored-by: Elena Kolevska <elena-kolevska@users.noreply.github.com> Signed-off-by: Elena Kolevska <elena@kolevska.com> * Remove test sleep (#778) Signed-off-by: Elena Kolevska <elena@kolevska.com> * Restores sleeps in test, as it was decided not to invest making synchronous the APIs that are getting deleted next version (#781) Signed-off-by: Elena Kolevska <elena@kolevska.com> * Updates workflows docs to use the new workflows client (#780) * Updates docs Signed-off-by: Elena Kolevska <elena@kolevska.com> * More workflows docs Signed-off-by: Elena Kolevska <elena@kolevska.com> * Move workflows examples, based on review Signed-off-by: Elena Kolevska <elena@kolevska.com> * Small fixes Signed-off-by: Elena Kolevska <elena@kolevska.com> --------- Signed-off-by: Elena Kolevska <elena@kolevska.com> * Workflow fixes and improvements (#784) * Converts demo_workflow example to DaprWorkflowClient and removes default timeout of 60seconds on `wait_for_workflow_start` and `wait_for_workflow_completion` Signed-off-by: Elena Kolevska <elena@kolevska.com> * Bumps durable task library. Signed-off-by: Elena Kolevska <elena@kolevska.com> --------- Signed-off-by: Elena Kolevska <elena@kolevska.com> # Conflicts: # ext/dapr-ext-workflow/setup.cfg * Retry streaming subscription on status UNKNOWN as well (#783) Signed-off-by: Elena Kolevska <elena@kolevska.com> * Adds examples and docs for cloud events messages (#785) Signed-off-by: Elena Kolevska <elena@kolevska.com> * Conversation API support (#787) * Conversation API support (sync) Signed-off-by: Elena Kolevska <elena@kolevska.com> * async conversation api support Signed-off-by: Elena Kolevska <elena@kolevska.com> * Adds docs Signed-off-by: Elena Kolevska <elena@kolevska.com> * Ignore validation of x.com link that needs authentication Signed-off-by: Elena Kolevska <elena@kolevska.com> * Registers e2e test. Clean up. Signed-off-by: Elena Kolevska <elena@kolevska.com> * Apply suggestions from code review Co-authored-by: Marc Duiker <marcduiker@users.noreply.github.com> Signed-off-by: Elena Kolevska <elena-kolevska@users.noreply.github.com> * Linter Signed-off-by: Elena Kolevska <elena@kolevska.com> * Updates protos and renames parameter Signed-off-by: Elena Kolevska <elena@kolevska.com> * Improves error handling Signed-off-by: Elena Kolevska <elena@kolevska.com> --------- Signed-off-by: Elena Kolevska <elena@kolevska.com> Signed-off-by: Elena Kolevska <elena-kolevska@users.noreply.github.com> Co-authored-by: Marc Duiker <marcduiker@users.noreply.github.com> Signed-off-by: Elena Kolevska <elena@kolevska.com> * Updates dev version to 1.15.0 Signed-off-by: Elena Kolevska <elena@kolevska.com> --------- Signed-off-by: Elena Kolevska <elena@kolevska.com> Signed-off-by: Adam Stewart <adam.stewart73@gmail.com> Signed-off-by: Elena Kolevska <elena-kolevska@users.noreply.github.com> Co-authored-by: Adam Stewart <ajstewart@users.noreply.github.com> Co-authored-by: Marc Duiker <marcduiker@users.noreply.github.com>
Description
Adds support for the Dapr Conversation API.
I suffixed the
conversemethod name withalpha1. This is open for discussion. We haven't been using the suffix in the python sdk, but we do it in Go. I believe it's safer to have it suffixed, but if we're reasonably certain the API won't break we can just useconverse.Issue reference
#786
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list: