Coverage for pystratum_common/wrapper/NoneWrapper.py: 0%
7 statements
« prev ^ index » next coverage.py v7.5.1, created at 2024-05-13 08:46 +0200
« prev ^ index » next coverage.py v7.5.1, created at 2024-05-13 08:46 +0200
1from abc import ABC
3from pystratum_common.wrapper.Wrapper import Wrapper
6class NoneWrapper(Wrapper, ABC):
7 """
8 Wrapper method generator for stored procedures without any result set.
9 """
11 # ------------------------------------------------------------------------------------------------------------------
12 def _return_type_hint(self) -> str:
13 """
14 Returns the return type hint of the wrapper method.
15 """
16 return 'int'
18 # ------------------------------------------------------------------------------------------------------------------
19 def _get_docstring_return_type(self) -> str:
20 """
21 Returns the return type of the wrapper methods to be used in the docstring.
22 """
23 return 'int'
25# ----------------------------------------------------------------------------------------------------------------------