Skip to content

Add short sleep so progress bar can finish #50 #173

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
Aug 5, 2021
Merged
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
1 change: 1 addition & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -6,6 +6,7 @@ Starting with v1.31.6, this file will contain a record of major features and upd
- Gremlin visualization bugfixes ([Link to PR](https://github.com/aws/graph-notebook/pull/166))
- Updated the airport data loadable via %seed to the latest version ([Link to PR](https://github.com/aws/graph-notebook/pull/172))
- Added support for Gremlin Profile API parameters ([Link to PR](https://github.com/aws/graph-notebook/pull/171))
- Improved %seed so the progress bar is seen to complete ([Link to PR](https://github.com/aws/graph-notebook/pull/173))

## Release 3.0.2 (July 29, 2021)

3 changes: 2 additions & 1 deletion src/graph_notebook/magics/graph_magic.py
Original file line number Diff line number Diff line change
@@ -1227,7 +1227,8 @@ def on_button_clicked(b=None):
return

progress.value += 1

# Sleep for two seconds so the user sees the progress bar complete
time.sleep(2)
progress.close()
with output:
print('Done.')