MCPcopy
hub / github.com/ray-project/ray / bind

Method bind

python/ray/actor.py:903–914  ·  view source on GitHub ↗

Bind arguments to the actor method for Ray DAG building. This method generates and returns an intermediate representation (IR) node that indicates the actor method will be called with the given arguments at execution time. This method is used in both :ref:`

(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

901
902 @DeveloperAPI
903 def bind(self, *args, **kwargs):
904 """
905 Bind arguments to the actor method for Ray DAG building.
906
907 This method generates and returns an intermediate representation (IR)
908 node that indicates the actor method will be called with the given
909 arguments at execution time.
910
911 This method is used in both :ref:`Ray DAG <ray-dag-guide>` and
912 :ref:`Ray Compiled Graph <ray-compiled-graph>` for building a DAG.
913 """
914 return self._bind(args, kwargs)
915
916 def remote(self, *args, **kwargs):
917 return self._remote(args, kwargs)

Callers

nothing calls this directly

Calls 1

_bindMethod · 0.95

Tested by

no test coverage detected