Class for (next step|reply) handlers.
| 57 | |
| 58 | |
| 59 | class Handler: |
| 60 | """ |
| 61 | Class for (next step|reply) handlers. |
| 62 | """ |
| 63 | |
| 64 | def __init__(self, callback, *args, **kwargs): |
| 65 | self.callback = callback |
| 66 | self.args = args |
| 67 | self.kwargs = kwargs |
| 68 | |
| 69 | def __getitem__(self, item): |
| 70 | return getattr(self, item) |
| 71 | |
| 72 | |
| 73 | class ExceptionHandler: |
no outgoing calls
no test coverage detected
searching dependent graphs…