Uploaded image for project: 'Zeppelin'
  1. Zeppelin
  2. ZEPPELIN-1361

Python interpreter - add support for AngularDisplay system

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • python-interpreter
    • None

    Description

      As discussed on mailing list dev@z.a.o subj "improving matplotlib integration in zeppelin" - in order to complete ZEPPELIN-1344 and give ability for one Python paragraph to update content in another one - we can use AngularDisplay system, same as in Apache Spark interpreter.

      So without rerun another paragraph, it's possible to update result of a
      paragraph from another.
      Any interpreter can get AngularObjectRegistry[3] from InterpreterContext
      [4], and AngularObjectRegistry allows create object / add event hook to
      communicate with front-end. 
      
      [3]
      https://github.com/apache/zeppelin/blob/master/zeppelin-interpreter/src/main/java/org/apache/zeppelin/display/AngularObjectRegistry.java
      [4]
      https://github.com/apache/zeppelin/blob/master/zeppelin-interpreter/src/main/java/org/apache/zeppelin/interpreter/InterpreterContext.java#L115
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bzz Alexander Bezzubov
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: