(self, channel, seq, command, arguments, json=None)
| 646 | """ |
| 647 | |
| 648 | def __init__(self, channel, seq, command, arguments, json=None): |
| 649 | super().__init__(channel, seq, json) |
| 650 | |
| 651 | self.command = command |
| 652 | |
| 653 | if isinstance(arguments, MessageDict) and hasattr(arguments, "associate_with"): |
| 654 | arguments.associate_with(self) |
| 655 | self.arguments = arguments |
| 656 | |
| 657 | self.response = None |
| 658 | """Response to this request. |
| 659 | |
| 660 | For incoming requests, it is set as soon as the request handler returns. |
| 661 | |
| 662 | For outgoing requests, it is set as soon as the response is received, and |
| 663 | before self._handle_response is invoked. |
| 664 | """ |
| 665 | |
| 666 | def describe(self): |
| 667 | return f"#{self.seq} request {json.repr(self.command)} from {self.channel}" |
nothing calls this directly
no test coverage detected