Skip to content

[BUG] Gremlin magic fails when results contain both list and vertex type  #591

Closed
@michaelnchin

Description

@michaelnchin

Community Note

  • Please use a 👍 reaction to provide a +1/vote. This helps the community and maintainers prioritize this request.
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.

Describe the bug

In some cases, %%gremlin does not correctly handle queries that return both list and vertex type results.

Screenshot 2024-05-10 at 8 10 41 PM

  • OS: Mac OS X
  • Browser: Chrome
  • Graph Notebook Version: 4.2.0
  • Graph Database & Version: Amazon Neptune 1.3.1.0

To Reproduce
Steps to reproduce the behavior:

  1. Execute the following from a notebook cell:
%%gremlin 

g.V().limit(1).inject([1,2,3,4])
  1. Observe the TypeError being thrown.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

Resolved

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions