[
https://issues.apache.org/jira/browse/TINKERPOP-2315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17006974#comment-17006974
]
ASF GitHub Bot commented on TINKERPOP-2315:
-------------------------------------------
spmallette commented on pull request #1233: TINKERPOP-2315 Implement clone()
for all GLVs
URL: https://github.com/apache/tinkerpop/pull/1233
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Implement some form of clone() or reset() for Traversal in GLVs
> ---------------------------------------------------------------
>
> Key: TINKERPOP-2315
> URL: https://issues.apache.org/jira/browse/TINKERPOP-2315
> Project: TinkerPop
> Issue Type: Improvement
> Components: dotnet, javascript, python
> Affects Versions: 3.3.9
> Reporter: Stephen Mallette
> Priority: Major
>
> There doesn't seem to be a method to do what we do in Java fairly often:
> {code}
> attached = g.V().hasLabel('OID').out('attached')
> assert attached.clone().count().next() == 4
> uids = attached.clone().dedup().toList()
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)