[jira] [Updated] (BEAM-7585) Ipython usage raises AttributeError

2019-11-11 Thread Rustam Khalmurzaev (Jira)


 [ 
https://issues.apache.org/jira/browse/BEAM-7585?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rustam Khalmurzaev updated BEAM-7585:
-
Status: Triage Needed  (was: Open)

> Ipython usage raises AttributeError
> ---
>
> Key: BEAM-7585
> URL: https://issues.apache.org/jira/browse/BEAM-7585
> Project: Beam
>  Issue Type: Bug
>  Components: runner-direct, sdk-py-core
>Reporter: SBlackwell
>Priority: Major
>  Labels: easyfix
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> [https://github.com/apache/beam/blob/master/sdks/python/apache_beam/runners/interactive/display/display_manager.py#L36]
> import IPython
> _display_progress = IPython.display.display
>  
> This doesn't work:
> In [1]: import IPython; IPython.display.display('test')
> ---
> AttributeError Traceback (most recent call last)
>  in ()
> > 1 import IPython; IPython.display.display('test')
> AttributeError: 'module' object has no attribute 'display'
> In [2]: from IPython import display; display.display('test')
> 'test'
> In [3]: import IPython; IPython.display.display('test')
> 'test'
>  
>  
> Should be:
> import IPython
> from IPython import display
> _display_progress = display.display



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Assigned] (BEAM-8605) Function display_graph() in example do not exist

2019-11-11 Thread Rustam Khalmurzaev (Jira)


 [ 
https://issues.apache.org/jira/browse/BEAM-8605?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rustam Khalmurzaev reassigned BEAM-8605:


Assignee: Rustam Khalmurzaev

> Function display_graph() in example do not exist
> 
>
> Key: BEAM-8605
> URL: https://issues.apache.org/jira/browse/BEAM-8605
> Project: Beam
>  Issue Type: Bug
>  Components: runner-py-interactive, sdk-py-core
>Reporter: Rustam Khalmurzaev
>Assignee: Rustam Khalmurzaev
>Priority: Trivial
>  Labels: easyfix
> Fix For: Not applicable
>
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> Here in code an example of using PipelineGraph class. Example in comments 
> contains function display_graph() which do not exist.
> [https://github.com/apache/beam/blob/master/sdks/python/apache_beam/runners/interactive/display/pipeline_graph.py#L47]
>  
> Examples:  graph = pipeline_graph.PipelineGraph(pipeline_proto)
>  graph.display_graph()
>  or
>  graph = pipeline_graph.PipelineGraph(pipeline)
>  graph.display_graph()



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Closed] (BEAM-8605) Function display_graph() in example do not exist

2019-11-11 Thread Rustam Khalmurzaev (Jira)


 [ 
https://issues.apache.org/jira/browse/BEAM-8605?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rustam Khalmurzaev closed BEAM-8605.

Fix Version/s: Not applicable
   Resolution: Fixed

> Function display_graph() in example do not exist
> 
>
> Key: BEAM-8605
> URL: https://issues.apache.org/jira/browse/BEAM-8605
> Project: Beam
>  Issue Type: Bug
>  Components: runner-py-interactive, sdk-py-core
>Reporter: Rustam Khalmurzaev
>Priority: Trivial
>  Labels: easyfix
> Fix For: Not applicable
>
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> Here in code an example of using PipelineGraph class. Example in comments 
> contains function display_graph() which do not exist.
> [https://github.com/apache/beam/blob/master/sdks/python/apache_beam/runners/interactive/display/pipeline_graph.py#L47]
>  
> Examples:  graph = pipeline_graph.PipelineGraph(pipeline_proto)
>  graph.display_graph()
>  or
>  graph = pipeline_graph.PipelineGraph(pipeline)
>  graph.display_graph()



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (BEAM-8605) Function display_graph() in example do not exist

2019-11-11 Thread Rustam Khalmurzaev (Jira)


[ 
https://issues.apache.org/jira/browse/BEAM-8605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16971415#comment-16971415
 ] 

Rustam Khalmurzaev commented on BEAM-8605:
--

I'll take this issue.

> Function display_graph() in example do not exist
> 
>
> Key: BEAM-8605
> URL: https://issues.apache.org/jira/browse/BEAM-8605
> Project: Beam
>  Issue Type: Bug
>  Components: runner-py-interactive, sdk-py-core
>Reporter: Rustam Khalmurzaev
>Priority: Trivial
>  Labels: easyfix
>
> Here in code an example of using PipelineGraph class. Example in comments 
> contains function display_graph() which do not exist.
> [https://github.com/apache/beam/blob/master/sdks/python/apache_beam/runners/interactive/display/pipeline_graph.py#L47]
>  
> Examples:  graph = pipeline_graph.PipelineGraph(pipeline_proto)
>  graph.display_graph()
>  or
>  graph = pipeline_graph.PipelineGraph(pipeline)
>  graph.display_graph()



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (BEAM-8605) Function display_graph() in example do not exist

2019-11-11 Thread Rustam Khalmurzaev (Jira)


 [ 
https://issues.apache.org/jira/browse/BEAM-8605?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rustam Khalmurzaev updated BEAM-8605:
-
Description: 
Here in code an example of using PipelineGraph class. Example in comments 
contains function display_graph() which do not exist.

[https://github.com/apache/beam/blob/master/sdks/python/apache_beam/runners/interactive/display/pipeline_graph.py#L47]

 

Examples:  graph = pipeline_graph.PipelineGraph(pipeline_proto)

 graph.display_graph()

 or

 graph = pipeline_graph.PipelineGraph(pipeline)

 graph.display_graph()

  was:
Here in code an example of using PipelineGraph class. Example in comments 
contains function display_graph() which do not exist.

[https://github.com/apache/beam/blob/master/sdks/python/apache_beam/runners/interactive/display/pipeline_graph.py#L47]


> Function display_graph() in example do not exist
> 
>
> Key: BEAM-8605
> URL: https://issues.apache.org/jira/browse/BEAM-8605
> Project: Beam
>  Issue Type: Bug
>  Components: runner-py-interactive, sdk-py-core
>Reporter: Rustam Khalmurzaev
>Priority: Trivial
>  Labels: easyfix
>
> Here in code an example of using PipelineGraph class. Example in comments 
> contains function display_graph() which do not exist.
> [https://github.com/apache/beam/blob/master/sdks/python/apache_beam/runners/interactive/display/pipeline_graph.py#L47]
>  
> Examples:  graph = pipeline_graph.PipelineGraph(pipeline_proto)
>  graph.display_graph()
>  or
>  graph = pipeline_graph.PipelineGraph(pipeline)
>  graph.display_graph()



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (BEAM-8605) Function display_graph() in example do not exist

2019-11-11 Thread Rustam Khalmurzaev (Jira)


 [ 
https://issues.apache.org/jira/browse/BEAM-8605?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rustam Khalmurzaev updated BEAM-8605:
-
Component/s: sdk-py-core

> Function display_graph() in example do not exist
> 
>
> Key: BEAM-8605
> URL: https://issues.apache.org/jira/browse/BEAM-8605
> Project: Beam
>  Issue Type: Bug
>  Components: runner-py-interactive, sdk-py-core
>Reporter: Rustam Khalmurzaev
>Priority: Trivial
>  Labels: easyfix
>
> Here in code an example of using PipelineGraph class. Example in comments 
> contains function display_graph() which do not exist.
> [https://github.com/apache/beam/blob/master/sdks/python/apache_beam/runners/interactive/display/pipeline_graph.py#L47]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (BEAM-8605) Function display_graph() in example do not exist

2019-11-11 Thread Rustam Khalmurzaev (Jira)
Rustam Khalmurzaev created BEAM-8605:


 Summary: Function display_graph() in example do not exist
 Key: BEAM-8605
 URL: https://issues.apache.org/jira/browse/BEAM-8605
 Project: Beam
  Issue Type: Bug
  Components: runner-py-interactive
Reporter: Rustam Khalmurzaev


Here in code an example of using PipelineGraph class. Example in comments 
contains function display_graph() which do not exist.

[https://github.com/apache/beam/blob/master/sdks/python/apache_beam/runners/interactive/display/pipeline_graph.py#L47]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Comment Edited] (BEAM-7585) Ipython usage raises AttributeError

2019-11-08 Thread Rustam Khalmurzaev (Jira)


[ 
https://issues.apache.org/jira/browse/BEAM-7585?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16970163#comment-16970163
 ] 

Rustam Khalmurzaev edited comment on BEAM-7585 at 11/8/19 1:24 PM:
---

[~Sithe], could you provide your code to reproduce this issue cause I can't it 
reproduce.

I have tried to use 
{{apache_beam.runners.interactive.display.display_manager.}}{{DisplayManager 
and it seems that it works.}}


was (Author: rustam_kh):
[~Sithe], could you provide your code to reproduce this issue cause I can't it 
reproduce.

> Ipython usage raises AttributeError
> ---
>
> Key: BEAM-7585
> URL: https://issues.apache.org/jira/browse/BEAM-7585
> Project: Beam
>  Issue Type: Bug
>  Components: runner-direct, sdk-py-core
>Reporter: SBlackwell
>Priority: Major
>  Labels: easyfix
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> [https://github.com/apache/beam/blob/master/sdks/python/apache_beam/runners/interactive/display/display_manager.py#L36]
> import IPython
> _display_progress = IPython.display.display
>  
> This doesn't work:
> In [1]: import IPython; IPython.display.display('test')
> ---
> AttributeError Traceback (most recent call last)
>  in ()
> > 1 import IPython; IPython.display.display('test')
> AttributeError: 'module' object has no attribute 'display'
> In [2]: from IPython import display; display.display('test')
> 'test'
> In [3]: import IPython; IPython.display.display('test')
> 'test'
>  
>  
> Should be:
> import IPython
> from IPython import display
> _display_progress = display.display



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (BEAM-7585) Ipython usage raises AttributeError

2019-11-08 Thread Rustam Khalmurzaev (Jira)


[ 
https://issues.apache.org/jira/browse/BEAM-7585?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16970163#comment-16970163
 ] 

Rustam Khalmurzaev commented on BEAM-7585:
--

[~Sithe], could you provide your code to reproduce this issue cause I can't it 
reproduce.

> Ipython usage raises AttributeError
> ---
>
> Key: BEAM-7585
> URL: https://issues.apache.org/jira/browse/BEAM-7585
> Project: Beam
>  Issue Type: Bug
>  Components: runner-direct, sdk-py-core
>Reporter: SBlackwell
>Priority: Major
>  Labels: easyfix
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> [https://github.com/apache/beam/blob/master/sdks/python/apache_beam/runners/interactive/display/display_manager.py#L36]
> import IPython
> _display_progress = IPython.display.display
>  
> This doesn't work:
> In [1]: import IPython; IPython.display.display('test')
> ---
> AttributeError Traceback (most recent call last)
>  in ()
> > 1 import IPython; IPython.display.display('test')
> AttributeError: 'module' object has no attribute 'display'
> In [2]: from IPython import display; display.display('test')
> 'test'
> In [3]: import IPython; IPython.display.display('test')
> 'test'
>  
>  
> Should be:
> import IPython
> from IPython import display
> _display_progress = display.display



--
This message was sent by Atlassian Jira
(v8.3.4#803005)