Skip to content

[REQUEST] Enable Speed For while total is not None in TaskProgressColumn #3835

Closed

Description

@XXXXRT666

NOTE: If a feature could be implemented in a third-party library, then it is unlikely to be accepted as part of the core library.

NOTE: Feature requests will not be considered unless first approved in discussions (https://github.com/textualize/rich/discussions)

How would you improve Rich?

Image

If we using TaskProgressColumn with total is not None progress, it will only render the percentages

What problem does it solve for you?

I used rich in a DL Training Script, I have to inherit TaskProgressColumn, change

if task.total is None and self.show_speed:
            return self.render_speed(task.finished_speed or task.speed)

to

if task.total is None or self.show_speed:
            return self.render_speed(task.finished_speed or task.speed)

to make the speed rendered

I think this and could be or

Activity

  1. github-actions commented on Sep 3, 2025

    @github-actions

    Thank you for your issue. Give us a little time to review it.

    PS. You might want to check the FAQ if you haven't done so already.

    Rich was created by Will McGugan. Consider sponsoring Will's work on Rich.

    This is an automated reply, generated by FAQtory

  2. locked and limited conversation to collaborators on Sep 3, 2025
  3. converted this issue into a discussion #3836 on Sep 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions