Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Gremlin as default for PropertyGraph samples in %seed #497

Merged
merged 3 commits into from
Jun 2, 2023
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
3 changes: 2 additions & 1 deletion ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ Starting with v1.31.6, this file will contain a record of major features and upd
- Added support for setting `%graph_notebook_vis_options` from a variable ([Link to PR](https://github.com/aws/graph-notebook/pull/487))
- Pinned JupyterLab<4.x to fix Python 3.8/3.10 builds ([Link to PR](https://github.com/aws/graph-notebook/pull/490))
- Changed datatype of "amount" from String to numeric for "Transaction" vertices in Fraud Graph sample notebook ([Link to PR](https://github.com/aws/graph-notebook/pull/489))
- Replaced usages of deprecated DataFrame.append method in ML samples([Link to PR](https://github.com/aws/graph-notebook/pull/495))
- Replaced usages of deprecated DataFrame.append method in ML samples ([Link to PR](https://github.com/aws/graph-notebook/pull/495))
- Set Gremlin as default language for PropertyGraph samples in `%seed` ([Link to PR](https://github.com/aws/graph-notebook/pull/497))

## Release 3.8.1 (April 17, 2023)
- Reinstate Python 3.7 support for compatibility with legacy AL1 Neptune Notebooks ([Link to PR](https://github.com/aws/graph-notebook/pull/479))
Expand Down
2 changes: 2 additions & 0 deletions src/graph_notebook/magics/graph_magic.py
Original file line number Diff line number Diff line change
Expand Up @@ -2543,6 +2543,8 @@ def on_button_clicked(b=None):
selected_model = 'propertygraph'
if normed_language in ['gremlin', 'opencypher']:
selected_language = normed_language
elif normed_language == '':
selected_language = 'gremlin'
else:
selected_model = 'rdf'
selected_language = 'sparql'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"metadata": {},
"outputs": [],
"source": [
"%seed --model Property_Graph --dataset airports --run"
"%seed --model Property_Graph --language gremlin --dataset airports --run"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"metadata": {},
"outputs": [],
"source": [
"%seed --model Property_Graph --dataset fraud_graph --run"
"%seed --model Property_Graph --language gremlin --dataset fraud_graph --run"
]
},
{
Expand Down Expand Up @@ -893,4 +893,4 @@
},
"nbformat": 4,
"nbformat_minor": 5
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"metadata": {},
"outputs": [],
"source": [
"%seed --model Property_Graph --dataset knowledge-graph --run"
"%seed --model Property_Graph --language gremlin --dataset knowledge-graph --run"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
},
"outputs": [],
"source": [
"%seed --model Property_Graph --dataset identity --run"
"%seed --model Property_Graph --language gremlin --dataset identity --run"
]
},
{
Expand Down