A convenience method for decoding an AMQP list as a Python ``list``. :returns: The decoded list.
(self)
| 1463 | self.exit() |
| 1464 | |
| 1465 | def get_sequence(self) -> List[Any]: |
| 1466 | """ |
| 1467 | A convenience method for decoding an AMQP list as a Python ``list``. |
| 1468 | |
| 1469 | :returns: The decoded list. |
| 1470 | """ |
| 1471 | if self.enter(): |
| 1472 | try: |
| 1473 | result = [] |
| 1474 | while self.next(): |
| 1475 | result.append(self.get_object()) |
| 1476 | finally: |
| 1477 | self.exit() |
| 1478 | return result |
| 1479 | |
| 1480 | def get_py_described(self) -> Described: |
| 1481 | """ |
nothing calls this directly
no test coverage detected