Skip to content

add default values when checking load status #96

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

Merged
merged 2 commits into from
Mar 25, 2021
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
4 changes: 3 additions & 1 deletion ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion src/graph_notebook/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
SPDX-License-Identifier: Apache-2.0
"""

__version__ = '2.0.11'
__version__ = '2.0.12'

2 changes: 1 addition & 1 deletion src/graph_notebook/loader/load.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion src/graph_notebook/widgets/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down