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

Remove keyexpr with_parameters #979

Merged
merged 3 commits into from
Apr 25, 2024
Merged

Remove keyexpr with_parameters #979

merged 3 commits into from
Apr 25, 2024

Conversation

Mallets
Copy link
Member

@Mallets Mallets commented Apr 25, 2024

Related to #974

Copy link

@wyfo wyfo left a comment

Choose a reason for hiding this comment

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

Honestly, I would prefer to keep this API, because it can be more convenient to chain calls, for example if you retrieve the keyexpr from another object.
But I've no experience about API use, so my opinion doesn't count a lot.

Co-authored-by: Joseph Perez <joperez@hotmail.fr>
@Mallets
Copy link
Member Author

Mallets commented Apr 25, 2024

It's more about removing unnecessary API that needs to be supported in the various bindings. I don't see much difference in the actual API usage in terms of complexity (at least as it was used in the zenoh codebase) and it will remove the need of eexposing the method on all other languages.

@wyfo
Copy link

wyfo commented Apr 25, 2024

Fair point, I will remove it from the Python API so 🙃

@Mallets Mallets requested a review from milyin April 25, 2024 14:31
@wyfo
Copy link

wyfo commented Apr 25, 2024

LGTM

wyfo added a commit to ZettaScaleLabs/zenoh-python that referenced this pull request Apr 25, 2024
wyfo added a commit to ZettaScaleLabs/zenoh-python that referenced this pull request Apr 25, 2024
wyfo added a commit to ZettaScaleLabs/zenoh-python that referenced this pull request Apr 25, 2024
@Mallets Mallets merged commit 193e223 into protocol_changes Apr 25, 2024
15 of 21 checks passed
@Mallets Mallets deleted the protocol_keparams branch April 25, 2024 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

None yet

2 participants