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

Method _copy_impl

python/ray/dag/input_node.py:240–252  ·  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

238 )
239
240 def _copy_impl(
241 self,
242 new_args: List[Any],
243 new_kwargs: Dict[str, Any],
244 new_options: Dict[str, Any],
245 new_other_args_to_resolve: Dict[str, Any],
246 ):
247 return InputAttributeNode(
248 new_other_args_to_resolve["dag_input_node"],
249 new_other_args_to_resolve["key"],
250 new_other_args_to_resolve["accessor_method"],
251 new_other_args_to_resolve["result_type_string"],
252 )
253
254 def _execute_impl(self, *args, **kwargs):
255 """Executor of InputAttributeNode.

Callers

nothing calls this directly

Calls 1

InputAttributeNodeClass · 0.85

Tested by

no test coverage detected