Expose a method to get InterpreterOutput, so user can call InterpreterOutput.clear()

This commit is contained in:
Lee moon soo 2017-03-18 09:17:44 -07:00
parent a405a93df9
commit 5be8db4479
2 changed files with 7 additions and 0 deletions

View file

@ -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)

View file

@ -192,4 +192,8 @@ public class InterpreterContext {
public void setRemoteWorksController(RemoteWorksController remoteWorksController) {
this.remoteWorksController = remoteWorksController;
}
public InterpreterOutput out() {
return out;
}
}