Skip to content

Commit

Permalink
fix: Remove loading animation from cli_wrapper function
Browse files Browse the repository at this point in the history
  • Loading branch information
jjjermiah committed Mar 16, 2024
1 parent f63fc51 commit b550404
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/nbiatoolkit/nbia_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,23 +193,10 @@ def cli_wrapper(func, **kwargs) -> List[str] | None:
The result of the function call.
"""
global done_event
global query

# # Start the loading animation in a separate thread
# loading_thread = threading.Thread(target=loading_animation)

# # daemon threads are killed when the main thread exits
# loading_thread.daemon = True
# loading_thread.start()

# Perform the database query in the main thread
result = func(**kwargs)

# # Stop the loading animation
# done_event.set()
# loading_thread.join()

return result


Expand Down

0 comments on commit b550404

Please sign in to comment.