(*args, **kwargs)
| 9 | def sync_wrapper(func): |
| 10 | @wraps(func) |
| 11 | def new_func(*args, **kwargs): |
| 12 | cb = func(*args, **kwargs) |
| 13 | ret, err = cb.wait(timeout=30) |
| 14 | if err: |
| 15 | raise RemoteError(err['message']) |
| 16 | return ret |
| 17 | return new_func |
nothing calls this directly
no test coverage detected