You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Jason Plurad (JIRA)" <ji...@apache.org> on 2017/09/06 19:52:00 UTC
[jira] [Created] (TINKERPOP-1769) Python graph[empty] string
representation is confusing
Jason Plurad created TINKERPOP-1769:
---------------------------------------
Summary: Python graph[empty] string representation is confusing
Key: TINKERPOP-1769
URL: https://issues.apache.org/jira/browse/TINKERPOP-1769
Project: TinkerPop
Issue Type: Bug
Components: language-variant
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)