Skip to content

stablize accept_replies#693

Merged
milyin merged 5 commits intoeclipse-zenoh:mainfrom
milyin-zenoh-zbobr:zbobr_fix-36-issue-690
Mar 10, 2026
Merged

stablize accept_replies#693
milyin merged 5 commits intoeclipse-zenoh:mainfrom
milyin-zenoh-zbobr:zbobr_fix-36-issue-690

Conversation

@milyin
Copy link
Contributor

@milyin milyin commented Mar 9, 2026

fix for #690
implemented with milyin-zenoh-zbobr/tasks#36

milyin and others added 5 commits March 6, 2026 18:20
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Expose the now-stable ReplyKeyExpr enum and accept_replies API from
upstream zenoh PR #2443. This adds:

- ReplyKeyExpr enum (Any, MatchingQuery) with DEFAULT classattr
- Query.accepts_replies() method
- Querier.accept_replies getter property
- accept_replies parameter to Session.get() and Session.declare_querier()
- ReplyKeyExpr registered in module exports
- Updated type stubs and docstrings

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions
Copy link
Contributor

github-actions bot commented Mar 9, 2026

PR missing one of the required labels: {'dependencies', 'internal', 'new feature', 'breaking-change', 'ci', 'bug', 'documentation', 'enhancement', 'api-sync'}

@milyin milyin added the enhancement Existing things could work better label Mar 9, 2026
"""Accept replies whose key expressions match the query key expression."""
)

@final
Copy link
Contributor

Choose a reason for hiding this comment

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

Whats the point of this code in a stub?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It follows the pattern how documentation strigns are defined for other enum fields. As far as I remember, this is a way to document each enum variant individually

Copy link
Contributor

Choose a reason for hiding this comment

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

@milyin milyin merged commit d89abe7 into eclipse-zenoh:main Mar 10, 2026
17 of 20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Existing things could work better

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants