-
Notifications
You must be signed in to change notification settings - Fork 53
ddspy:
initial qos_provider
support impl.
#301
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
base: master
Are you sure you want to change the base?
ddspy:
initial qos_provider
support impl.
#301
Conversation
Implementation of `QosProvider` class. Support for `qos_provider` functionality in python API + basic test implemntation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, just a few small suggestions for the error messages.
cyclonedds/qos_provider.py
Outdated
self._qos_provider, kind, bkey, ct.byref(cqos) | ||
) | ||
if ret < 0: | ||
raise DDSException(ret, f"Occured trying to get_topic_qos {repr(self)}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
get_topic_qos
in the error message, but this is a generic function
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed in bfd4328
cyclonedds/qos_provider.py
Outdated
bpath, ct.byref(self._qos_provider), bscope | ||
) | ||
if ret < 0 or not self._qos_provider: | ||
raise DDSException(ret, f"Occured when initialize {repr(self)}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
raise DDSException(ret, f"Occured when initialize {repr(self)}") | |
raise DDSException(ret, f"Occured while initializing {repr(self)}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
applied in bfd4328
Fix exception messages.
Implementation of
QosProvider
class.Support for
qos_provider
functionality in python API + basic testimplementation.