mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
Expose a method to get InterpreterOutput, so user can call InterpreterOutput.clear()
This commit is contained in:
parent
a405a93df9
commit
5be8db4479
2 changed files with 7 additions and 0 deletions
|
|
@ -83,6 +83,9 @@ class PyZeppelinContext(dict):
|
|||
def get(self, key):
|
||||
return self.__getitem__(key)
|
||||
|
||||
def getInterpreterContext(self):
|
||||
return self.z.getInterpreterContext()
|
||||
|
||||
def input(self, name, defaultValue=""):
|
||||
return self.z.input(name, defaultValue)
|
||||
|
||||
|
|
|
|||
|
|
@ -192,4 +192,8 @@ public class InterpreterContext {
|
|||
public void setRemoteWorksController(RemoteWorksController remoteWorksController) {
|
||||
this.remoteWorksController = remoteWorksController;
|
||||
}
|
||||
|
||||
public InterpreterOutput out() {
|
||||
return out;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue