Skip to content
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

Handle carriage return to support progress bar in logs #326

Merged
merged 1 commit into from
Aug 22, 2024

Conversation

amritghimire
Copy link
Contributor

This change breaks the read by reading each character and
yielding the breaks in or new lines instead of just waiting on new
line.

Studio PR: https://github.com/iterative/studio/pull/10509

This change breaks the read by reading each character and
yielding the breaks in <CR> or new lines instead of just waiting on new
line.

Studio PR: iterative/studio#10509
@amritghimire amritghimire self-assigned this Aug 20, 2024
@amritghimire amritghimire requested a review from a team August 20, 2024 12:05
Copy link

codecov bot commented Aug 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.96%. Comparing base (70fe5a1) to head (4ba16a8).
Report is 10 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #326      +/-   ##
==========================================
+ Coverage   86.94%   86.96%   +0.01%     
==========================================
  Files          90       90              
  Lines        9898     9908      +10     
  Branches     1995     1997       +2     
==========================================
+ Hits         8606     8616      +10     
  Misses        944      944              
  Partials      348      348              
Flag Coverage Δ
datachain 86.88% <100.00%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@dreadatour dreadatour left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! Thank you! ❤️

@amritghimire amritghimire merged commit dfa2068 into main Aug 22, 2024
38 checks passed
@amritghimire amritghimire deleted the amrit/progress-bar branch August 22, 2024 05:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants