Conditions | 1 |
Total Lines | 7 |
Code Lines | 2 |
Lines | 0 |
Ratio | 0 % |
Tests | 2 |
CRAP Score | 1 |
Changes | 0 |
1 | 1 | from typing import Any, Dict |
|
14 | 1 | def _write_result_handler(self, routine: Dict[str, Any]) -> None: |
|
15 | """ |
||
16 | Generates code of the return statement of the wrapper method for invoking a stored routine. |
||
17 | |||
18 | :param dict routine: Metadata of the stored routine. |
||
19 | """ |
||
20 | 1 | self._write_line('return self.execute_sp_row1({0!s})'.format(self._generate_command(routine))) |
|
21 | |||
23 |