From 873ccd019a7dbc05761dc93384553a45e84fbbdd Mon Sep 17 00:00:00 2001 From: Austin Kline Date: Thu, 25 Mar 2021 14:58:55 -0700 Subject: [PATCH] add default values when checking load status (#96) * add default values to `get_load_status` as taken from [aws public docs](https://docs.aws.amazon.com/neptune/latest/userguide/load-api-reference-status-requests.html#load-api-reference-status-request-syntax) --- ChangeLog.md | 4 +++- src/graph_notebook/__init__.py | 2 +- src/graph_notebook/loader/load.py | 2 +- src/graph_notebook/widgets/package.json | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/ChangeLog.md b/ChangeLog.md index a1931274..6aa9e672 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -6,9 +6,11 @@ Starting with v1.31.6, this file will contain a record of major features and upd This section contains the list of changes which will be included in the next release -## Release 2.0.11 (Mar 25, 2021) +## Release 2.0.12 (Mar 25, 2021) +- Add default parameters for `get_load_status` - Add ipython as a dependency in `setup.py` ([Link to PT](https://github.com/aws/graph-notebook/pull/95)) +- Add parameters in `load_status` for `details`, `errors`, `page`, and `errorsPerPage` ## Release 2.0.10 (Mar 18, 2021) diff --git a/src/graph_notebook/__init__.py b/src/graph_notebook/__init__.py index 53dbf346..3e9d785d 100644 --- a/src/graph_notebook/__init__.py +++ b/src/graph_notebook/__init__.py @@ -3,5 +3,5 @@ SPDX-License-Identifier: Apache-2.0 """ -__version__ = '2.0.11' +__version__ = '2.0.12' diff --git a/src/graph_notebook/loader/load.py b/src/graph_notebook/loader/load.py index 4680b7ad..16642ec8 100644 --- a/src/graph_notebook/loader/load.py +++ b/src/graph_notebook/loader/load.py @@ -58,7 +58,7 @@ def get_loader_jobs(host, port, use_ssl, request_param_generator): return res.json() -def get_load_status(host, port, use_ssl, request_param_generator, id, loader_details, loader_errors, loader_page, loader_epp): +def get_load_status(host, port, use_ssl, request_param_generator, id, loader_details="FALSE", loader_errors="FALSE", loader_page=1, loader_epp=10): payload = { 'loadId': id, 'details': loader_details, diff --git a/src/graph_notebook/widgets/package.json b/src/graph_notebook/widgets/package.json index 60e66304..0adf5029 100644 --- a/src/graph_notebook/widgets/package.json +++ b/src/graph_notebook/widgets/package.json @@ -1,6 +1,6 @@ { "name": "graph_notebook_widgets", - "version": "2.0.11", + "version": "2.0.12", "author": "amazon", "description": "A Custom Jupyter Library for rendering NetworkX MultiDiGraphs using vis-network", "dependencies": {