ray.data.context.DatasetContext.get_current#

static DatasetContext.get_current() ray.data.context.DatasetContext[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.