MCPcopy Create free account
hub / github.com/OpenDCAI/DataFlow-MM / run

Method run

dataflow/wrapper/batch_wrapper.py:13–18  ·  view source on GitHub ↗

这里写一份通用的 run 文档也可以, 不写的话会被下面动态拷贝原 operator.run 的 __doc__。

(self, *args: P.args, **kwargs: P.kwargs)

Source from the content-addressed store, hash-verified

11
12class 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
20class BatchWrapper(Generic[P, R]):
21 """

Callers 3

runMethod · 0.45
runFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected