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

Python: Fix client remove response callback #1272

Conversation

DownerCase
Copy link
Contributor

Description

Fixed the python bindings for removing a response callback from a service client:

ecal.core.service.py :

  • Client had rem_response_callback taking a method name parameter (which was unused) and calling non-existant ecal.core.core.client_rem_response_callback.

ecal.core.core.py:

  • client_rem_response_callback doesn't exist because it was typoed in as client_rem_method_callback.

ecal_wrap.cxx:

  • Implementation of client_rem_response_callback does exist
  • Unfortunately, the _ecal_methods mapping binds the python API function client_rem_response_callback to the C++ function client_add_response_callback!

Related issues

  • None

Cherry-pick to

  • 5.11 (old stable)
  • 5.12 (current stable)

@DownerCase DownerCase marked this pull request as ready for review November 26, 2023 20:33
@FlorianReimold
Copy link
Member

@KerstinKeller: Can you check on this? It does change the API, but honestly I think that there is no point in keeping it stable when it never worked.

Copy link
Contributor

@KerstinKeller KerstinKeller left a comment

Choose a reason for hiding this comment

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

Looks ok from my side.

@FlorianReimold FlorianReimold merged commit 6e77c5b into eclipse-ecal:master Nov 28, 2023
7 of 8 checks passed
@DownerCase DownerCase deleted the fix_python_rem_response_callback branch November 29, 2023 08:36
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.

None yet

3 participants