Method: rich.progress.TextColumn.render
Calls: 30, Exceptions: 0, Paths: 3Back
Path 1: 28 calls (0.93)
Task (28)
Text (28)
1def render(self, task: "Task") -> Text:
2 _text = self.text_format.format(task=task)
3 if self.markup:
4 text = Text.from_markup(_text, style=self.style, justify=self.justify)
5 else:
6 text = Text(_text, style=self.style, justify=self.justify)
7 if self.highlighter:
8 self.highlighter.highlight(text)
9 return text
Path 2: 1 calls (0.03)
Task (1)
Text (1)
1def render(self, task: "Task") -> Text:
2 _text = self.text_format.format(task=task)
3 if self.markup:
4 text = Text.from_markup(_text, style=self.style, justify=self.justify)
5 else:
6 text = Text(_text, style=self.style, justify=self.justify)
7 if self.highlighter:
8 self.highlighter.highlight(text)
9 return text
Path 3: 1 calls (0.03)
Task (1)
Text (1)
1def render(self, task: "Task") -> Text:
2 _text = self.text_format.format(task=task)
3 if self.markup:
4 text = Text.from_markup(_text, style=self.style, justify=self.justify)
5 else:
6 text = Text(_text, style=self.style, justify=self.justify)
7 if self.highlighter:
8 self.highlighter.highlight(text)
9 return text