Skip to content

Commit

Permalink
docs: Update docstring of block_terminal_output
Browse files Browse the repository at this point in the history
  • Loading branch information
saattrupdan committed Oct 27, 2024
1 parent a6d5293 commit 0594341
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/coral/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,7 @@


def block_terminal_output() -> None:
"""Blocks undesired terminal output.
This blocks the following output:
- User warnings
- Logs from the `datasets` package
- Progress bars from the `datasets` package
"""
"""Blocks undesired terminal output."""
# Ignore user warnings throughout the codebase
warnings.filterwarnings("ignore", category=UserWarning)
warnings.filterwarnings("ignore", category=RuntimeWarning)
Expand Down

0 comments on commit 0594341

Please sign in to comment.