GitHub user egorklimov reopened a pull request:

    https://github.com/apache/zeppelin/pull/3053

    [WIP] [ZEPPELIN-3583] Add function getNoteName() in InterpreterContext

    ### What is this PR for?
    Now we could get only current user and note ID.
    
    ```
    note_id = z.getInterpreterContext().getNoteId()
    user = z.getInterpreterContext().getAuthenticationInfo().getUser()
    ```
    It would be nice if we could also get note name, like:
    ```
    note_name = z.getInterpreterContext().getNoteName()
    ```
    
    ### What type of PR is it?
    Improvement
    
    ### What is the Jira issue?
    issue on Jira: https://issues.apache.org/jira/browse/ZEPPELIN-3583
    
    ### How should this be tested?
    * CI pass
    
    ### Screenshots
    ![screenshot-2018-7-5 here is notebook name - 
zeppelin](https://user-images.githubusercontent.com/6136993/42327498-7a395702-8074-11e8-8f22-3a5c0212b536.png)
    
    
    ### Questions:
    * Does the licenses files need update? No
    * Is there breaking changes for older versions? No
    * Does this needs documentation? No


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/TinkoffCreditSystems/zeppelin ZEPPELIN-3583

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/zeppelin/pull/3053.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #3053
    
----
commit 23aa5138c1def8f10a3fe2712040cacfd3466595
Author: egorklimov <klim.electronicmail@...>
Date:   2018-07-04T13:09:22Z

    Add noteName

commit bce37da3cccf90f7a179552999b824a9a0631461
Author: egorklimov <klim.electronicmail@...>
Date:   2018-07-05T13:49:38Z

    Builder fixed

----


---

Reply via email to