tinkerpop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stephen mallette (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (TINKERPOP-1769) Python graph[empty] string representation is confusing
Date Fri, 07 Sep 2018 16:13:00 GMT

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

stephen mallette closed TINKERPOP-1769.
---------------------------------------
       Resolution: Done
         Assignee: stephen mallette
    Fix Version/s: 3.4.0

Implemented this via CTR here: https://github.com/apache/tinkerpop/commit/7a814e196519775079005cdf9bc73ec934302891

> 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
>            Assignee: stephen mallette
>            Priority: Minor
>             Fix For: 3.4.0
>
>
> 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
(v7.6.3#76005)

Mime
View raw message