(func: DecoratedCallable)
| 2824 | include_in_schema: bool = True, |
| 2825 | ) -> Callable[[DecoratedCallable], DecoratedCallable]: |
| 2826 | def decorator(func: DecoratedCallable) -> DecoratedCallable: |
| 2827 | self.add_route( |
| 2828 | path, |
| 2829 | func, |
| 2830 | methods=methods, |
| 2831 | name=name, |
| 2832 | include_in_schema=include_in_schema, |
| 2833 | ) |
| 2834 | return func |
| 2835 | |
| 2836 | return decorator |
| 2837 |
nothing calls this directly
no test coverage detected