(rerun_path: str, *args: T_Input.args, **kwargs: T_Input.kwargs)
| 55 | def register(func: T.Callable[T.Concatenate[str, T_Input], None]) -> T.Callable[T.Concatenate[str, T_Input], None]: |
| 56 | @wraps(func) |
| 57 | def implement(rerun_path: str, *args: T_Input.args, **kwargs: T_Input.kwargs) -> None: |
| 58 | if func.__name__ not in Rerun_Visualizer.func_mode: |
| 59 | Rerun_Visualizer.func_mode[func.__name__] = "default" |
| 60 | |
| 61 | func_mode = Rerun_Visualizer.get_fn_mode(func) |
| 62 | match func_mode: |
| 63 | case "none": return None |
| 64 | case "rerun": func(rerun_path, *args, **kwargs) |
| 65 | return implement |
| 66 | |
| 67 | @register |
nothing calls this directly
no test coverage detected