code: public PythonStreamExecutionEnvironment create_local_execution_environment(Configuration config) {
  		return new PythonStreamExecutionEnvironment(new LocalStreamEnvironment(config), new Path(localTmpPath), scriptName);
  	}
docs: Creates a {@link LocalStreamEnvironment}. The local execution environment
  will run the program in a multi-threaded fashion in the same JVM as the
  environment was created in. The default parallelism of the local
  environment is the number of hardware contexts (CPU cores / threads),
  unless it was specified differently by {@link PythonStreamExecutionEnvironment#set_parallelism(int)}.
  
  @param config Pass a custom configuration into the cluster
  @return A local execution environment with the specified parallelism.