Buckets:
AnonymousSpottedToad/human_verified_bucket / codebase /python /freqtrade_freqtrade /freqtrade /util /progress_tracker.py
| from rich.progress import ( | |
| BarColumn, | |
| MofNCompleteColumn, | |
| TaskProgressColumn, | |
| TextColumn, | |
| TimeElapsedColumn, | |
| TimeRemainingColumn, | |
| ) | |
| from freqtrade.util.rich_progress import CustomProgress | |
| def retrieve_progress_tracker(pt: CustomProgress | None) -> CustomProgress: | |
| if pt is None: | |
| return get_progress_tracker() | |
| return pt | |
| def get_progress_tracker(**kwargs) -> CustomProgress: | |
| """ | |
| Get progress Bar with custom columns. | |
| """ | |
| from freqtrade.loggers import error_console | |
| return CustomProgress( | |
| TextColumn("[progress.description]{task.description}"), | |
| BarColumn(bar_width=None), | |
| MofNCompleteColumn(), | |
| TaskProgressColumn(), | |
| "•", | |
| TimeElapsedColumn(), | |
| "•", | |
| TimeRemainingColumn(), | |
| expand=True, | |
| console=error_console, | |
| **kwargs, | |
| ) | |
Xet Storage Details
- Size:
- 878 Bytes
- Xet hash:
- b084a2253c45b8233585224e5d3df48e4df13e3023e592a32c5cd3aac6f2c790
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.