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

Method remote

python/ray/actor.py:1600–1612  ·  view source on GitHub ↗

Create an actor. Args: args: These arguments are forwarded directly to the actor constructor. kwargs: These arguments are forwarded directly to the actor constructor. Returns: A handle to the newly created actor.

(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

1598 return self
1599
1600 def remote(self, *args, **kwargs) -> ActorProxy[T]:
1601 """Create an actor.
1602
1603 Args:
1604 args: These arguments are forwarded directly to the actor
1605 constructor.
1606 kwargs: These arguments are forwarded directly to the actor
1607 constructor.
1608
1609 Returns:
1610 A handle to the newly created actor.
1611 """
1612 return self._remote(args=args, kwargs=kwargs, **self._default_options)
1613
1614 def options(self, **actor_options) -> "ActorClass[T]":
1615 """Configures and overrides the actor instantiation parameters.

Callers 15

nested_check_versionMethod · 0.45
_mainFunction · 0.45
run_locust_load_testFunction · 0.45
run_wrk_on_all_nodesFunction · 0.45
__call__Method · 0.45
user_loopMethod · 0.45
_run_load_testFunction · 0.45
_wait_for_readyFunction · 0.45
predictMethod · 0.45
mainFunction · 0.45

Calls 1

_remoteMethod · 0.95

Tested by 15

run_wrk_on_all_nodesFunction · 0.36
with_actorsFunction · 0.36
with_tasksFunction · 0.36
mainFunction · 0.36
mainFunction · 0.36
stage0Function · 0.36
stage1Function · 0.36
stage2Function · 0.36
stage3Function · 0.36
stage4Function · 0.36
mainFunction · 0.36