ssorj commented on a change in pull request #192: Changed Python API to better handle strings where symbo… URL: https://github.com/apache/qpid-proton/pull/192#discussion_r333151881
########## File path: python/proton/_message.py ########## @@ -430,6 +430,31 @@ def _set_reply_to_group_id(self, value): :raise: :exc:`MessageException` if there is any Proton error when using the setter. """) + def _get_instructions(self): + return self.instruction_dict + def _set_instructions(self, instructions): + if isinstance(instructions, dict): + self.instruction_dict = AnnotationDict(instructions, throw=False) Review comment: "Throw" seems like a Java-ism. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org