Skip to content

Conversation

Splinter1984
Copy link

Implementation of QosProvider class.
Support for qos_provider functionality in python API + basic test
implementation.

  Implementation of `QosProvider` class.

  Support for `qos_provider` functionality in python API + basic test
  implemntation.
Copy link
Contributor

@dpotman dpotman left a 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.

self._qos_provider, kind, bkey, ct.byref(cqos)
)
if ret < 0:
raise DDSException(ret, f"Occured trying to get_topic_qos {repr(self)}")
Copy link
Contributor

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

Copy link
Author

Choose a reason for hiding this comment

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

fixed in bfd4328

bpath, ct.byref(self._qos_provider), bscope
)
if ret < 0 or not self._qos_provider:
raise DDSException(ret, f"Occured when initialize {repr(self)}")
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
raise DDSException(ret, f"Occured when initialize {repr(self)}")
raise DDSException(ret, f"Occured while initializing {repr(self)}")

Copy link
Author

Choose a reason for hiding this comment

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

applied in bfd4328

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.

2 participants