ray.dag.context.DAGContext.get_current#

static DAGContext.get_current() DAGContext[source]#

Get or create a singleton context.

If the context has not yet been created in this process, it will be initialized with default settings.