| Conditions | 1 |
| Total Lines | 9 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | import abc |
||
| 26 | @abc.abstractmethod |
||
| 27 | async def __call__(self, request: protocol.JsonRpcRequest) -> protocol.JsonRpcResponse: |
||
| 28 | # Code to be executed for each request before the method are called. |
||
| 29 | |||
| 30 | response = await self.get_response(request) |
||
| 31 | |||
| 32 | # Code to be executed for each request/response after the method is called. |
||
| 33 | |||
| 34 | return response |
||
| 35 | |||
| 55 |