Delivery annotations as a dictionary of key/values. The AMQP 1.0 specification restricts this dictionary to have keys that are either :class:`symbol` or :class:`ulong` types. It is possible to use the special ``dict`` subclass :class:`AnnotationDict` which will by def
(self)
| 434 | |
| 435 | @property |
| 436 | def instructions(self) -> Optional[AnnotationDict]: |
| 437 | """Delivery annotations as a dictionary of key/values. The AMQP 1.0 |
| 438 | specification restricts this dictionary to have keys that are either |
| 439 | :class:`symbol` or :class:`ulong` types. It is possible to use |
| 440 | the special ``dict`` subclass :class:`AnnotationDict` which |
| 441 | will by default enforce these restrictions on construction. In addition, |
| 442 | if string types are used, this class will be silently convert them into |
| 443 | symbols. |
| 444 | |
| 445 | :type: :class:`AnnotationDict`. Any ``dict`` with :class:`ulong` or :class:`symbol` keys. |
| 446 | """ |
| 447 | return self.instruction_dict |
| 448 | |
| 449 | @instructions.setter |
| 450 | def instructions(self, instructions: Optional[Dict[Union[str, int], 'PythonAMQPData']]) -> None: |