How to obtain DAGDriver handle?

How severe does this issue affect your experience of using Ray?

  • Medium: It contributes to significant difficulty to complete my task, but I can work around it.

It is not clear how to deal with recent deprecations of get_deployment and get_handle in new 2.0.0 release.

It is encouraged to use DAGDriver handle and it’s predict method. This can be obtained from

However, it is not clear how to obtain DAGDriver handle from Python client application for already running DAGDriver without using get_deployment and get_handle.

Please explain

Hi @mfojtak .

Currently you can still use the get_handle and get_deployment.
e.g. serve.get_deployment(NAME).get_handle().

It won’t be deprecated until we provide alternative function or API.