(name)
| 393 | if hasattr(method, MAGIC_ATTR): |
| 394 | |
| 395 | def generate_function(name): |
| 396 | |
| 397 | def func(self, *args, **kwargs): |
| 398 | # dispatch to the actual worker |
| 399 | return getattr(self.worker_dict[key], name)(*args, **kwargs) |
| 400 | |
| 401 | return func |
| 402 | |
| 403 | func = generate_function(method_name) |
| 404 | # pass MAGIC_ATTR for outer worker group |
no outgoing calls
no test coverage detected