Skip to content

Commit c224940

Browse files
committed
📝 [Doc] README: update example with latest feature, and upgrade to v1.2.2
1 parent ea36c43 commit c224940

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -221,9 +221,10 @@ def test_logbar_group():
221221
epoch_bar.set_desc(f"[0/{epochs}]")
222222
progress_bar = TCLogbar(total=total)
223223
sub_progress_bar = TCLogbar(total=sub_total)
224-
TCLogbarGroup([epoch_bar, progress_bar, sub_progress_bar])
225-
print("This is a noise line to test lazy blank prints of logbar group.")
226-
epoch_bar.update(0)
224+
TCLogbarGroup([epoch_bar, progress_bar, sub_progress_bar], show_at_init=True)
225+
# TCLogbarGroup([epoch_bar, progress_bar, sub_progress_bar], show_at_init=False)
226+
# print("This is a noise line to test lazy blank prints of logbar group.")
227+
# epoch_bar.update(0)
227228
for epoch in range(epochs):
228229
for i in range(total):
229230
for j in range(sub_total):

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "tclogger"
3-
version = "1.2.1"
3+
version = "1.2.2"
44
authors = [
55
{ name="Hansimov" },
66
]

0 commit comments

Comments
 (0)