MCPcopy Index your code
hub / github.com/ray-project/ray / _copy_impl

Method _copy_impl

python/ray/dag/class_node.py:210–223  ·  view source on GitHub ↗
(
        self,
        new_args: List[Any],
        new_kwargs: Dict[str, Any],
        new_options: Dict[str, Any],
        new_other_args_to_resolve: Dict[str, Any],
    )

Source from the content-addressed store, hash-verified

208 )
209
210 def _copy_impl(
211 self,
212 new_args: List[Any],
213 new_kwargs: Dict[str, Any],
214 new_options: Dict[str, Any],
215 new_other_args_to_resolve: Dict[str, Any],
216 ):
217 return ClassMethodNode(
218 self._method_name,
219 new_args,
220 new_kwargs,
221 new_options,
222 other_args_to_resolve=new_other_args_to_resolve,
223 )
224
225 def _execute_impl(self, *args, **kwargs):
226 """Executor of ClassMethodNode by ray.remote()

Callers

nothing calls this directly

Calls 1

ClassMethodNodeClass · 0.85

Tested by

no test coverage detected