Class PythonAutoCompleteObserver
java.lang.Object
io.deephaven.server.session.SessionCloseableObserver<AutoCompleteResponse>
io.deephaven.server.console.completer.PythonAutoCompleteObserver
- All Implemented Interfaces:
io.grpc.stub.StreamObserver<AutoCompleteRequest>
,Closeable
,AutoCloseable
public class PythonAutoCompleteObserver
extends SessionCloseableObserver<AutoCompleteResponse>
implements io.grpc.stub.StreamObserver<AutoCompleteRequest>
Autocomplete handling for python that will use the jedi library, if it is installed.
-
Field Summary
Fields inherited from class io.deephaven.server.session.SessionCloseableObserver
responseObserver, session
-
Constructor Summary
ConstructorDescriptionPythonAutoCompleteObserver
(io.grpc.stub.StreamObserver<AutoCompleteResponse> responseObserver, javax.inject.Provider<ScriptSession> scriptSession, SessionState session) -
Method Summary
Methods inherited from class io.deephaven.server.session.SessionCloseableObserver
close, onClose
-
Constructor Details
-
PythonAutoCompleteObserver
public PythonAutoCompleteObserver(io.grpc.stub.StreamObserver<AutoCompleteResponse> responseObserver, javax.inject.Provider<ScriptSession> scriptSession, SessionState session)
-
-
Method Details
-
onNext
- Specified by:
onNext
in interfaceio.grpc.stub.StreamObserver<AutoCompleteRequest>
-
onError
- Specified by:
onError
in interfaceio.grpc.stub.StreamObserver<AutoCompleteRequest>
-
onCompleted
public void onCompleted()- Specified by:
onCompleted
in interfaceio.grpc.stub.StreamObserver<AutoCompleteRequest>
-