这里写一份通用的 run 文档也可以, 不写的话会被下面动态拷贝原 operator.run 的 __doc__。
(self, *args: P.args, **kwargs: P.kwargs)
| 11 | |
| 12 | class HasRun(Protocol[P, R]): |
| 13 | def run(self, *args: P.args, **kwargs: P.kwargs) -> R: |
| 14 | """ |
| 15 | 这里写一份通用的 run 文档也可以, |
| 16 | 不写的话会被下面动态拷贝原 operator.run 的 __doc__。 |
| 17 | """ |
| 18 | ... |
| 19 | |
| 20 | class BatchWrapper(Generic[P, R]): |
| 21 | """ |
no outgoing calls
no test coverage detected