Skip to content

Commit

Permalink
chore(ui): rename env var to datachain (#779)
Browse files Browse the repository at this point in the history
  • Loading branch information
shcheklein authored Jan 5, 2025
1 parent f79173a commit 0a53122
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/datachain/progress.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def __init__(
disable : If (default: None) or False,
will be determined by logging level.
May be overridden to `True` due to non-TTY status.
Skip override by specifying env var `DVC_IGNORE_ISATTY`.
Skip override by specifying env var `DATACHAIN_IGNORE_ISATTY`.
kwargs : anything accepted by `tqdm.tqdm()`
"""
kwargs = kwargs.copy()
Expand All @@ -77,7 +77,7 @@ def __init__(
# auto-disable based on TTY
if (
not disable
and not env2bool("DVC_IGNORE_ISATTY")
and not env2bool("DATACHAIN_IGNORE_ISATTY")
and hasattr(file, "isatty")
):
disable = not file.isatty()
Expand Down

0 comments on commit 0a53122

Please sign in to comment.