From 3812e0203a72ef0013f009939fcefea6918bc8a4 Mon Sep 17 00:00:00 2001 From: Kline Date: Thu, 25 Mar 2021 14:26:09 -0700 Subject: [PATCH 1/2] add default values when checking load status --- src/graph_notebook/__init__.py | 2 +- src/graph_notebook/loader/load.py | 2 +- src/graph_notebook/widgets/package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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": { From fa98f3bff6fcce70700489310290419964fa0ad6 Mon Sep 17 00:00:00 2001 From: Kline Date: Thu, 25 Mar 2021 14:32:29 -0700 Subject: [PATCH 2/2] update changelog --- ChangeLog.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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)