(*args, **kwargs)
| 118 | def decorator(func): |
| 119 | @wraps(func) |
| 120 | def wrapper(*args, **kwargs): |
| 121 | with start_as_current_context(): |
| 122 | if hook: |
| 123 | hook() |
| 124 | return func(*args, **kwargs) |
| 125 | |
| 126 | return wrapper |
| 127 |
nothing calls this directly
no test coverage detected