Skip to content
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

Adds support for Unsubscribe Configuration #417

Merged
merged 4 commits into from Jun 23, 2022
Merged

Conversation

berndverst
Copy link
Member

Description

Adds support for unsubscribe configuration

Issue reference

Fixes #414

Checklist

Please make sure you've completed the relevant tasks for this PR, out of the following list:

  • Code compiles correctly
  • Created/updated tests
  • Extended the documentation

Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
Signed-off-by: GitHub <noreply@github.com>
@berndverst berndverst requested review from a team as code owners June 23, 2022 02:02
@berndverst berndverst added this to the v1.7 milestone Jun 23, 2022
Signed-off-by: GitHub <noreply@github.com>
@codecov
Copy link

codecov bot commented Jun 23, 2022

Codecov Report

Merging #417 (a73479e) into master (8639cf2) will decrease coverage by 0.18%.
The diff coverage is 52.38%.

@@            Coverage Diff             @@
##           master     #417      +/-   ##
==========================================
- Coverage   89.58%   89.40%   -0.19%     
==========================================
  Files          55       55              
  Lines        2486     2500      +14     
==========================================
+ Hits         2227     2235       +8     
- Misses        259      265       +6     
Impacted Files Coverage Δ
dapr/clients/grpc/_response.py 88.50% <28.57%> (-2.05%) ⬇️
dapr/clients/grpc/client.py 88.58% <100.00%> (+0.37%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8639cf2...a73479e. Read the comment docs.

Signed-off-by: GitHub <noreply@github.com>
@@ -671,23 +672,32 @@ def __init__(self):
def get_items(self):
return self.items

def watch_configuration(self, stub, store_name, keys, config_metadata):
def watch_configuration(self, stub: api_service_v1.DaprStub, store_name: str,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the Java SDK, we have created a new interface to keep Alpha APIs separate. Making it clear that they can break.

Copy link
Member

@artursouza artursouza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. This shows another difference in local decision among SDK maintainers. The alpha APIs are not distinguished from the stable ones.

@berndverst berndverst merged commit 9ecdb26 into dapr:master Jun 23, 2022
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.

Add implementation for Unsubscribe configuration API
2 participants