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

7 statements  

« prev     ^ index     » next       coverage.py v7.5.1, created at 2024-05-13 08:46 +0200

1from abc import ABC 

2 

3from pystratum_common.wrapper.Wrapper import Wrapper 

4 

5 

6class FunctionsWrapper(Wrapper, ABC): 

7 """ 

8 Wrapper method generator for stored functions. 

9 """ 

10 

11 # ------------------------------------------------------------------------------------------------------------------ 

12 def _return_type_hint(self) -> str: 

13 """ 

14 Returns the return type hint of the wrapper method. 

15 """ 

16 return 'Any' 

17 

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 '*' 

24 

25# ----------------------------------------------------------------------------------------------------------------------