Skip to content

Commit

Permalink
Fix broken %%gremlin --help command (#630)
Browse files Browse the repository at this point in the history
* Fix broken %%gremlin --help option

* update changelog
  • Loading branch information
michaelnchin authored Jun 22, 2024
1 parent 8a02980 commit 06421f8
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
Empty file added =3,
Empty file.
1 change: 1 addition & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
Starting with v1.31.6, this file will contain a record of major features and updates made in each release of graph-notebook.

## Upcoming
- Fixed broken `--help` option for `%%gremlin` ([Link to PR](https://github.com/aws/graph-notebook/pull/630))

## Release 4.4.2 (June 18, 2024)
- Set Gremlin `connection_protocol` defaults based on Neptune service when generating configuration via arguments ([Link to PR](https://github.com/aws/graph-notebook/pull/626))
Expand Down
2 changes: 1 addition & 1 deletion src/graph_notebook/magics/graph_magic.py
Original file line number Diff line number Diff line change
Expand Up @@ -1033,7 +1033,7 @@ def gremlin(self, line, cell, local_ns: dict = None):
help=f'Neptune endpoints only. Connection protocol to use for connecting to the Gremlin '
f'database - either Websockets or HTTP. Valid inputs: {GREMLIN_PROTOCOL_FORMATS}. '
f'If not specified, defaults to the value of the gremlin.connection_protocol field '
f'in %graph_notebook_config. Please note that this option has no effect on the '
f'in %%graph_notebook_config. Please note that this option has no effect on the '
f'Profile and Explain modes, which must use HTTP.')
parser.add_argument('--explain-type', type=str.lower, default='dynamic',
help=f'Explain mode to use when using the explain query mode. '
Expand Down

0 comments on commit 06421f8

Please sign in to comment.