Skip to content

Commit

Permalink
Minor fixes for first release
Browse files Browse the repository at this point in the history
  • Loading branch information
garrettmflynn committed Apr 26, 2024
1 parent 62a5ed0 commit b68471a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 0 additions & 3 deletions src/tqdm_publisher/_demos/_demo_command_line_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@

DEMO_BASE_FOLDER_PATH = Path(__file__).parent

RELATIVE_DEMO_BASE_FOLDER_PATH = DEMO_BASE_FOLDER_PATH.relative_to(Path.cwd())


def _command_line_interface():
"""A simple command line interface for running the demo for TQDM Publisher."""
if len(sys.argv) <= 1:
Expand Down
1 change: 1 addition & 0 deletions src/tqdm_publisher/_demos/_parallel_bars/_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ def update():
# Forward updates over Sever-Side Events
progress_handler.announce(dict(request_id=request_id, progress_bar_id=progress_bar_id, format_dict=format_dict))

return jsonify({"status": "success"})

@app.route("/events", methods=["GET"])
@cross_origin()
Expand Down

0 comments on commit b68471a

Please sign in to comment.