ray.data.DataContext.get_current#

static DataContext.get_current() DataContext[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.