(cls, func: T.Callable[T.Concatenate[T_Mode, T_Input], T_Output])
| 46 | |
| 47 | @classmethod |
| 48 | def get_fn_mode(cls, func: T.Callable[T.Concatenate[T_Mode, T_Input], T_Output]) -> T_Mode: |
| 49 | assert func.__name__ in cls.func_mode |
| 50 | func_mode = cls.func_mode[func.__name__] |
| 51 | if func_mode == 'default': return cls.default_mode |
| 52 | return func_mode |
| 53 | |
| 54 | @staticmethod |
| 55 | def register(func: T.Callable[T_Input, Figure]) -> T.Callable[T.Concatenate[str, T_Input], None]: |
nothing calls this directly
no outgoing calls
no test coverage detected