MCPcopy
hub / github.com/Textualize/rich / render

Method render

rich/progress.py:635–643  ·  view source on GitHub ↗
(self, task: "Task")

Source from the content-addressed store, hash-verified

633 super().__init__(table_column=table_column or Column(no_wrap=True))
634
635 def render(self, task: "Task") -> Text:
636 _text = self.text_format.format(task=task)
637 if self.markup:
638 text = Text.from_markup(_text, style=self.style, justify=self.justify)
639 else:
640 text = Text(_text, style=self.style, justify=self.justify)
641 if self.highlighter:
642 self.highlighter.highlight(text)
643 return text
644
645
646class BarColumn(ProgressColumn):

Callers 1

test_text_columnFunction · 0.95

Calls 3

TextClass · 0.85
from_markupMethod · 0.80
highlightMethod · 0.45

Tested by 1

test_text_columnFunction · 0.76