code: public PythonStreamExecutionEnvironment create_local_execution_environment(int parallelism, Configuration config) {
  		return new PythonStreamExecutionEnvironment(
  			StreamExecutionEnvironment.createLocalEnvironment(parallelism, config), new Path(localTmpPath), scriptName);
  	}
docs: A thin wrapper layer over {@link StreamExecutionEnvironment#createLocalEnvironment(int, Configuration)}.
  
  @param parallelism The parallelism for the local environment.
  @param config Pass a custom configuration into the cluster
  @return A local python execution environment with the specified parallelism.