Replies: 2 comments
-
Presumably this is mostly a consequence of using SWIG to generate the Python bindings. SWIG does have I've also heard decent things about pybind11. This example shows how to handle mapping Python object properties to C++ setters and getters like |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks @rgov for your contribution I have labeled this as an enhancement and I am moving the ticket to the Ideas discussion forum. For the moment the Python API will remain as it is. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Has any thought been given to developing an idiomatic Python API for Fast DDS? The API requires a coding style that is fairly unnatural in Python.
Some examples:
Accessing instance variables on objects:
Setting instance variables on objects:
Passing objects by reference to have them initialized:
Manual management of resources:
Beta Was this translation helpful? Give feedback.
All reactions