Interface PythonConsoleSessionWithDatabaseModule
@Module
public interface PythonConsoleSessionWithDatabaseModule
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic PythonDeephavenSession
providePythonSession
(UpdateGraph updateGraph, ThreadInitializationFactory threadInitializationFactory, OperationInitializer operationInitializer, ObjectTypeLookup lookup, ScriptSession.Listener listener, PythonEvaluatorJpy pythonEvaluator, Database database, String virtualEnvironment) static ScriptSession
provideScriptSession
(PythonDeephavenSession pythonSession)
-
Method Details
-
provideScriptSession
@Provides @IntoMap @StringKey("python") static ScriptSession provideScriptSession(PythonDeephavenSession pythonSession) -
providePythonSession
@Provides static PythonDeephavenSession providePythonSession(@Named("DEFAULT") UpdateGraph updateGraph, ThreadInitializationFactory threadInitializationFactory, OperationInitializer operationInitializer, ObjectTypeLookup lookup, ScriptSession.Listener listener, PythonEvaluatorJpy pythonEvaluator, Database database, @Nullable @Named("virtualEnvironment") String virtualEnvironment)
-