Coverage for pystratum_common/wrapper/Row1Wrapper.py : 0%

Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
1from abc import ABC
3from pystratum_common.wrapper.Wrapper import Wrapper
6class Row1Wrapper(Wrapper, ABC):
7 """
8 Wrapper method generator for stored procedures that are selecting 1 row.
9 """
11 # ------------------------------------------------------------------------------------------------------------------
12 def _return_type_hint(self) -> str:
13 """
14 Returns the return type hint of the wrapper method.
16 :rtype: str
17 """
18 return 'Any'
20 # ------------------------------------------------------------------------------------------------------------------
21 def _get_docstring_return_type(self) -> str:
22 """
23 Returns the return type of the wrapper methods the be used in the docstring.
25 :rtype: str
26 """
27 return 'dict[str,*]'
29# ----------------------------------------------------------------------------------------------------------------------