Skip to content

Commit 60dd393

Browse files
committed
putting one example on log module
1 parent c5f4b42 commit 60dd393

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pymove/utils/log.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,12 @@ def progress_bar(
145145
miniters : int, optional
146146
Represents the steps in which the bar will be updated, by default None.
147147
148+
Return
149+
------
150+
>>> from pymove.utils.log import _log_progress_bar, progress_bar
151+
>>> for i in progress_bar(range(1,101), desc='tests', total = 100):
152+
>>> print(i)
153+
# A progress bar that walks the range
148154
"""
149155
if logger.level > logging.INFO:
150156
return sequence

0 commit comments

Comments
 (0)