Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Starting with v1.31.6, this file will contain a record of major features and upd
- Fixed rendering of openCypher widgets for empty result sets ([Link to PR](https://github.com/aws/graph-notebook/pull/286))
- Fixed graph search overriding physics setting ([Link to PR](https://github.com/aws/graph-notebook/pull/282))
- Fixed browser-specific bug in results pagination options menu ([Link to PR](https://github.com/aws/graph-notebook/pull/290))
- Fixed invalid queries in Gremlin sample notebooks ([Link to PR](https://github.com/aws/graph-notebook/pull/308))
- Removed `requests-aws4auth` requirement ([Link to PR](https://github.com/aws/graph-notebook/pull/291))

## Release 3.3.0 (March 28, 2022)
Expand Down
4 changes: 0 additions & 4 deletions src/graph_notebook/magics/completers/graph_completer.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,6 @@
'.T.label',
'.T.key',
'.T.value',
'.incr',
'.Order.incr',
'.decr',
'.Order.decr',
'.asc',
'.Order.asc',
'.desc',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,8 @@
"source": [
"%%gremlin\n",
"\n",
"g.V('1').addE('knows').to(g.V('2')).property('weight', 0.5).next()\n",
"g.addE('knows').from(g.V('1')).to(g.V('4')).property('weight', 1.0) "
"g.V('1').addE('knows').to(__.V('2')).property('weight', 0.5).next()\n",
"g.addE('knows').from(__.V('1')).to(__.V('4')).property('weight', 1.0)"
]
},
{
Expand All @@ -183,10 +183,10 @@
"source": [
"%%gremlin\n",
"\n",
"g.V('1').addE('created').to(g.V('3')).property('weight', 0.4).next()\n",
"g.V('4').addE('created').to(g.V('5')).property('weight', 1.0).next()\n",
"g.V('4').addE('knows').to(g.V('3')).property('weight', 0.4).next()\n",
"g.V('6').addE('created').to(g.V('3')).property('weight', 0.2)"
"g.V('1').addE('created').to(__.V('3')).property('weight', 0.4).next()\n",
"g.V('4').addE('created').to(__.V('5')).property('weight', 1.0).next()\n",
"g.V('4').addE('knows').to(__.V('3')).property('weight', 0.4).next()\n",
"g.V('6').addE('created').to(__.V('3')).property('weight', 0.2)"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@
" both('FRIEND').\n",
" where(P.neq('user')).where(P.without('friends')). \n",
" groupCount().by('name'). \n",
" order(Scope.local).by(values, Order.decr).\n",
" order(Scope.local).by(values, Order.desc).\n",
" next()"
]
},
Expand Down Expand Up @@ -223,7 +223,7 @@
" .has('strength', P.gt(1)).otherV()\n",
" .where(P.neq('user')).where(P.without('friends'))\n",
" .groupCount().by('name')\n",
" .order(Scope.local).by(values, Order.decr)\n",
" .order(Scope.local).by(values, Order.desc)\n",
" .next()\n"
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@
"g.V('Dave Bechberger').\n",
" in('written_by').\n",
" out('found_in').groupCount().by('text').order(local).\n",
" by(values, Order.decr).unfold()"
" by(values, Order.desc).unfold()"
]
},
{
Expand Down Expand Up @@ -378,7 +378,7 @@
" in('written_by').\n",
" out('found_in').\n",
" groupCount().by('text').\n",
" order(local).by(values, Order.decr).\n",
" order(local).by(values, Order.desc).\n",
" unfold()"
]
},
Expand Down Expand Up @@ -408,7 +408,7 @@
" out('found_in').\n",
" has('text', without('AWS', 'Amazon', 'Neptune')).\n",
" groupCount().by('text').\n",
" order(local).by(values, Order.decr).\n",
" order(local).by(values, Order.desc).\n",
" unfold()"
]
},
Expand Down