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

stephen mallette updated TINKERPOP-1769:
----------------------------------------
    Issue Type: Improvement  (was: Bug)

> Python graph[empty] string representation is confusing
> ------------------------------------------------------
>
>                 Key: TINKERPOP-1769
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1769
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: python
>    Affects Versions: 3.2.6
>            Reporter: Jason Plurad
>            Priority: Minor
>
> From this [StackOverflow 
> post|https://stackoverflow.com/questions/46070265/gremlin-python-returning-empty-graph/46082468#46082468],
>  the string representation of the [Python 
> Graph|https://github.com/apache/tinkerpop/blob/3.2.6/gremlin-python/src/main/jython/gremlin_python/structure/graph.py#L37]
>  object is:
> {noformat}graph[empty]{noformat}
> This is likely trying to be similar to {{EmptyGraph}} in Java, but this can 
> be misleading for new users, especially if they had been using TinkerGraph 
> which shows how many vertices and edges are in the graph. Something like one 
> of these could be less confusing:
> {noformat}
> graph[remote]
> graph[]
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to