Upgrading rich 9 to 10
Unknown9.13.0 → 10.16.2Deprecated1New52Changed22Fixed36Other1
UnknownUpgrade verdict
DepDelta hasn't looked for the notes of 6 of 30 releases yet, so breaking changes can't be ruled out.
In plain terms
- DepDelta hasn't finished looking for the notes in this range, so it can't rule out breaking changes yet.
Must act 1 item needs code or config changes
Python requirement changed in 10.12.0: >=3.6,<4.0 → >=3.6.2,<4.0.0.
Drops typing-extensions.
Installs 3 packages in all (was 4).
Deprecations to plan for
Deprecated1
Added deprecation warning for tabulate_mapping which will be removed in v11.0.0.
API changes
Generated by DepDelta from published Python source. Not mixed with prose notes.
- changed:
function inspect(obj: Any, *, console: Console=…, title: str=…, help: bool=…, methods: bool=…, docs: bool=…, private: bool=…, dunder: bool=…, sort: bool=…, all: bool=…, value: bool=…) → function inspect(obj: Any, *, console: Optional[Console]=…, title: Optional[str]=…, help: bool=…, methods: bool=…, docs: bool=…, private: bool=…, dunder: bool=…, sort: bool=…, all: bool=…, value: bool=…) -> None - changed:
function print(*objects: Any, sep=…, end=…, file: IO[str]=…, flush: bool=…) → function print(*objects: Any, sep: str=…, end: str=…, file: Optional[IO[str]]=…, flush: bool=…) -> None - changed:
function reconfigure(*args, **kwargs) -> None → function reconfigure(*args: Any, **kwargs: Any) -> None
- changed:
constructor Align(renderable: RenderableType, align: AlignMethod=…, style: StyleType=…, *, vertical: VerticalAlignMethod=…, pad: bool=…, width: int=…, height: int=…) -> None → constructor Align(renderable: RenderableType, align: AlignMethod=…, style: Optional[StyleType]=…, *, vertical: Optional[VerticalAlignMethod]=…, pad: bool=…, width: Optional[int]=…, height: Optional[int]=…) -> None - changed:
constructor VerticalCenter(renderable: RenderableType, style: StyleType=…) -> None → constructor VerticalCenter(renderable: RenderableType, style: Optional[StyleType]=…) -> None - changed:
static method Align.center(renderable: RenderableType, style: StyleType=…, *, vertical: VerticalAlignMethod=…, pad: bool=…, width: int=…, height: int=…) -> Align → static method Align.center(renderable: RenderableType, style: Optional[StyleType]=…, *, vertical: Optional[VerticalAlignMethod]=…, pad: bool=…, width: Optional[int]=…, height: Optional[int]=…) -> Align - changed:
static method Align.left(renderable: RenderableType, style: StyleType=…, *, vertical: VerticalAlignMethod=…, pad: bool=…, width: int=…, height: int=…) -> Align → static method Align.left(renderable: RenderableType, style: Optional[StyleType]=…, *, vertical: Optional[VerticalAlignMethod]=…, pad: bool=…, width: Optional[int]=…, height: Optional[int]=…) -> Align - changed:
static method Align.right(renderable: RenderableType, style: StyleType=…, *, vertical: VerticalAlignMethod=…, pad: bool=…, width: int=…, height: int=…) -> Align → static method Align.right(renderable: RenderableType, style: Optional[StyleType]=…, *, vertical: Optional[VerticalAlignMethod]=…, pad: bool=…, width: Optional[int]=…, height: Optional[int]=…) -> Align
- changed:
function read(fd) → function read(fd: int) -> bytes
- changed:
constructor Bar(size: float, begin: float, end: float, *, width: int=…, color: Union[Color, str]=…, bgcolor: Union[Color, str]=…) → constructor Bar(size: float, begin: float, end: float, *, width: Optional[int]=…, color: Union[Color, str]=…, bgcolor: Union[Color, str]=…)
- changed:
method Color.get_truecolor(theme: TerminalTheme=…, foreground=…) -> ColorTriplet → method Color.get_truecolor(theme: Optional[TerminalTheme]=…, foreground: bool=…) -> ColorTriplet
- changed:
constructor Columns(renderables: Iterable[RenderableType]=…, padding: PaddingDimensions=…, *, width: int=…, expand: bool=…, equal: bool=…, column_first: bool=…, right_to_left: bool=…, align: AlignMethod=…, title: TextType=…) -> None → constructor Columns(renderables: Optional[Iterable[RenderableType]]=…, padding: PaddingDimensions=…, *, width: Optional[int]=…, expand: bool=…, equal: bool=…, column_first: bool=…, right_to_left: bool=…, align: Optional[AlignMethod]=…, title: Optional[TextType]=…) -> None
- removed:
class RenderGroup - removed:
constructor RenderGroup(*renderables: RenderableType, fit: bool=…) -> None - removed:
function render_group(fit: bool=…) -> Callable - removed:
property RenderGroup.renderables -> List[RenderableType] - changed:
constructor Console(*, color_system: Optional[Literal['auto', 'standard', '256', 'truecolor', 'windows']]=…, force_terminal: bool=…, force_jupyter: bool=…, force_interactive: bool=…, soft_wrap: bool=…, theme: Theme=…, stderr: bool=…, file: IO[str]=…, quiet: bool=…, width: int=…, height: int=…, style: StyleType=…, no_color: bool=…, tab_size: int=…, record: bool=…, markup: bool=…, emoji: bool=…, hi… → constructor Console(*, color_system: Optional[Literal['auto', 'standard', '256', 'truecolor', 'windows']]=…, force_terminal: Optional[bool]=…, force_jupyter: Optional[bool]=…, force_interactive: Optional[bool]=…, soft_wrap: bool=…, theme: Optional[Theme]=…, stderr: bool=…, file: Optional[IO[str]]=…, quiet: bool=…, width: Optional[int]=…, height: Optional[int]=…, style: Optional[StyleType]=…, no_c… - changed:
constructor PagerContext(console: Console, pager: Pager=…, styles: bool=…, links: bool=…) -> None → constructor PagerContext(console: Console, pager: Optional[Pager]=…, styles: bool=…, links: bool=…) -> None - changed:
method Console.control(control_codes: Union[Control, str]) -> None → method Console.control(*control: Control) -> None - changed:
method Console.export_html(*, theme: TerminalTheme=…, clear: bool=…, code_format: str=…, inline_styles: bool=…) -> str → method Console.export_html(*, theme: Optional[TerminalTheme]=…, clear: bool=…, code_format: Optional[str]=…, inline_styles: bool=…) -> str - changed:
method Console.get_style(name: Union[str, Style], *, default: Union[Style, str]=…) -> Style → method Console.get_style(name: Union[str, Style], *, default: Optional[Union[Style, str]]=…) -> Style - changed:
method Console.input(prompt: TextType=…, *, markup: bool=…, emoji: bool=…, password: bool=…, stream: TextIO=…) -> str → method Console.input(prompt: TextType=…, *, markup: bool=…, emoji: bool=…, password: bool=…, stream: Optional[TextIO]=…) -> str - changed:
method Console.log(*objects: Any, sep=…, end=…, style: Union[str, Style]=…, justify: JustifyMethod=…, emoji: bool=…, markup: bool=…, highlight: bool=…, log_locals: bool=…, _stack_offset=…) -> None → method Console.log(*objects: Any, sep: str=…, end: str=…, style: Optional[Union[str, Style]]=…, justify: Optional[JustifyMethod]=…, emoji: Optional[bool]=…, markup: Optional[bool]=…, highlight: Optional[bool]=…, log_locals: bool=…, _stack_offset: int=…) -> None - changed:
method Console.out(*objects: Any, sep=…, end=…, style: Union[str, Style]=…, highlight: bool=…) -> None → method Console.out(*objects: Any, sep: str=…, end: str=…, style: Optional[Union[str, Style]]=…, highlight: Optional[bool]=…) -> None - changed:
method Console.pager(pager: Pager=…, styles: bool=…, links: bool=…) -> PagerContext → method Console.pager(pager: Optional[Pager]=…, styles: bool=…, links: bool=…) -> PagerContext - changed:
method Console.print(*objects: Any, sep=…, end=…, style: Union[str, Style]=…, justify: JustifyMethod=…, overflow: OverflowMethod=…, no_wrap: bool=…, emoji: bool=…, markup: bool=…, highlight: bool=…, width: int=…, height: int=…, crop: bool=…, soft_wrap: bool=…) -> None → method Console.print(*objects: Any, sep: str=…, end: str=…, style: Optional[Union[str, Style]]=…, justify: Optional[JustifyMethod]=…, overflow: Optional[OverflowMethod]=…, no_wrap: Optional[bool]=…, emoji: Optional[bool]=…, markup: Optional[bool]=…, highlight: Optional[bool]=…, width: Optional[int]=…, height: Optional[int]=…, crop: bool=…, soft_wrap: Optional[bool]=…, new_line_start: bool=…) -> N… - changed:
method Console.print_exception(*, width: Optional[int]=…, extra_lines: int=…, theme: Optional[str]=…, word_wrap: bool=…, show_locals: bool=…) -> None → method Console.print_exception(*, width: Optional[int]=…, extra_lines: int=…, theme: Optional[str]=…, word_wrap: bool=…, show_locals: bool=…, suppress: Iterable[Union[str, ModuleType]]=…, max_frames: int=…) -> None - changed:
method Console.render(renderable: RenderableType, options: ConsoleOptions=…) -> Iterable[Segment] → method Console.render(renderable: RenderableType, options: Optional[ConsoleOptions]=…) -> Iterable[Segment] - changed:
method Console.render_str(text: str, *, style: Union[str, Style]=…, justify: JustifyMethod=…, overflow: OverflowMethod=…, emoji: bool=…, markup: bool=…, highlight: bool=…, highlighter: HighlighterType=…) -> Text → method Console.render_str(text: str, *, style: Union[str, Style]=…, justify: Optional[JustifyMethod]=…, overflow: Optional[OverflowMethod]=…, emoji: Optional[bool]=…, markup: Optional[bool]=…, highlight: Optional[bool]=…, highlighter: Optional[HighlighterType]=…) -> Text - changed:
method Console.save_html(path: str, *, theme: TerminalTheme=…, clear: bool=…, code_format=…, inline_styles: bool=…) -> None → method Console.save_html(path: str, *, theme: Optional[TerminalTheme]=…, clear: bool=…, code_format: str=…, inline_styles: bool=…) -> None - changed:
method Console.screen(hide_cursor: bool=…, style: StyleType=…) -> ScreenContext → method Console.screen(hide_cursor: bool=…, style: Optional[StyleType]=…) -> ScreenContext - changed:
method ConsoleOptions.update(width: Union[int, NoChange]=…, min_width: Union[int, NoChange]=…, max_width: Union[int, NoChange]=…, justify: Union[Optional[JustifyMethod], NoChange]=…, overflow: Union[Optional[OverflowMethod], NoChange]=…, no_wrap: Union[Optional[bool], NoChange]=…, highlight: Union[Optional[bool], NoChange]=…, height: Union[Optional[int], NoChange]=…) -> ConsoleOptions → method ConsoleOptions.update(*, width: Union[int, NoChange]=…, min_width: Union[int, NoChange]=…, max_width: Union[int, NoChange]=…, justify: Union[Optional[JustifyMethod], NoChange]=…, overflow: Union[Optional[OverflowMethod], NoChange]=…, no_wrap: Union[Optional[bool], NoChange]=…, highlight: Union[Optional[bool], NoChange]=…, markup: Union[Optional[bool], NoChange]=…, height: Union[Optional[in… - changed:
method ScreenContext.update(*renderables: RenderableType, style: StyleType=…) -> None → method ScreenContext.update(*renderables: RenderableType, style: Optional[StyleType]=…) -> None - added:
class Group - added:
class ScreenUpdate - added:
constructor Group(*renderables: RenderableType, fit: bool=…) -> None - added:
constructor ScreenUpdate(lines: List[List[Segment]], x: int, y: int) -> None - added:
field ConsoleOptions.markup: Optional[bool] - added:
field ConsoleOptions.max_height: int - added:
function group(fit: bool=…) -> Callable[..., Callable[..., Group]] - added:
method Console.measure(renderable: RenderableType, *, options: Optional[ConsoleOptions]=…) -> Measurement - added:
method Console.print_json(json: Optional[str]=…, *, data: Any=…, indent: Union[None, int, str]=…, highlight: bool=…, skip_keys: bool=…, ensure_ascii: bool=…, check_circular: bool=…, allow_nan: bool=…, default: Optional[Callable[[Any], Any]]=…, sort_keys: bool=…) -> None - added:
method Console.update_screen(renderable: RenderableType, *, region: Optional[Region]=…, options: Optional[ConsoleOptions]=…) -> None - added:
method Console.update_screen_lines(lines: List[List[Segment]], x: int=…, y: int=…) -> None - added:
method ConsoleOptions.update_dimensions(width: int, height: int) -> ConsoleOptions - added:
method ConsoleOptions.update_height(height: int) -> ConsoleOptions - added:
property Console.is_alt_screen -> bool - added:
property Group.renderables -> List[RenderableType] - added:
variable RenderGroup - added:
variable render_group
- changed:
constructor Renderables(renderables: Iterable[RenderableType]=…) -> None → constructor Renderables(renderables: Optional[Iterable[RenderableType]]=…) -> None - changed:
method Lines.pop(index=…) -> Text → method Lines.pop(index: int=…) -> Text
- changed:
constructor Control(control_codes: str) -> None → constructor Control(*codes: Union[ControlType, ControlCode]) -> None - changed:
function strip_control_codes(text: str, _translate_table=…) -> str → function strip_control_codes(text: str, _translate_table: Dict[int, None]=…) -> str - added:
static method Control.alt_screen(enable: bool) -> Control - added:
static method Control.bell() -> Control - added:
static method Control.clear() -> Control - added:
static method Control.move(x: int=…, y: int=…) -> Control - added:
static method Control.move_to(x: int, y: int) -> Control - added:
static method Control.move_to_column(x: int, y: int=…) -> Control - added:
static method Control.show_cursor(show: bool) -> Control - added:
variable CONTROL_CODES_FORMAT: Dict[int, Callable[..., str]]
- removed:
variable MARKDOWN_STYLES
- changed:
constructor Emoji(name: str, style: Union[str, Style]=…) -> None → constructor Emoji(name: str, style: Union[str, Style]=…, variant: Optional[EmojiVariant]=…) -> None - added:
field Emoji.VARIANTS - added:
variable EmojiVariant
- added:
class NoAltScreen(ConsoleError)
- changed:
function decimal(size: int) -> str → function decimal(size: int, *, precision: Optional[int]=…, separator: Optional[str]=…) -> str
- added:
class JSONHighlighter(RegexHighlighter) - added:
field JSONHighlighter.base_style - added:
field JSONHighlighter.highlights
- added:
class JSON - added:
constructor JSON(json: str, indent: Union[None, int, str]=…, highlight: bool=…, skip_keys: bool=…, ensure_ascii: bool=…, check_circular: bool=…, allow_nan: bool=…, default: Optional[Callable[[Any], Any]]=…, sort_keys: bool=…) -> None - added:
static method JSON.from_data(data: Any, indent: Union[None, int, str]=…, highlight: bool=…, skip_keys: bool=…, ensure_ascii: bool=…, check_circular: bool=…, allow_nan: bool=…, default: Optional[Callable[[Any], Any]]=…, sort_keys: bool=…) -> JSON - added:
variable args - added:
variable console - added:
variable error_console - added:
variable json_data - added:
variable parser
- removed:
static method JupyterRenderable.render(rich_renderable: RenderableType) -> str - changed:
constructor JupyterRenderable(html: str) -> None → constructor JupyterRenderable(html: str, text: str) -> None - changed:
function display(segments: Iterable[Segment]) -> None → function display(segments: Iterable[Segment], text: str) -> None - changed:
function print(*args, **kwargs) -> None → function print(*args: Any, **kwargs: Any) -> None
- removed:
variable Direction - changed:
constructor Layout(renderable: RenderableType=…, *, direction: str=…, size: int=…, minimum_size: int=…, ratio: int=…, name: str=…, visible: bool=…, height: int=…) -> None → constructor Layout(renderable: Optional[RenderableType]=…, *, name: Optional[str]=…, size: Optional[int]=…, minimum_size: int=…, ratio: int=…, visible: bool=…, height: Optional[int]=…) -> None - changed:
method Layout.split(*layouts, direction: Direction=…) -> None → method Layout.split(*layouts: Union[Layout, RenderableType], splitter: Union[Splitter, str]=…) -> None - added:
class ColumnSplitter(Splitter) - added:
class LayoutError(Exception) - added:
class LayoutRender(NamedTuple) - added:
class NoSplitter(LayoutError) - added:
class RowSplitter(Splitter) - added:
class Splitter(ABC) - added:
field ColumnSplitter.name - added:
field Layout.splitters - added:
field LayoutRender.region: Region - added:
field LayoutRender.render: List[List[Segment]] - added:
field RowSplitter.name - added:
field Splitter.name: str - added:
method ColumnSplitter.divide(children: Sequence[Layout], region: Region) -> Iterable[Tuple[Layout, Region]] - added:
method ColumnSplitter.get_tree_icon() -> str - added:
method Layout.add_split(*layouts: Union[Layout, RenderableType]) -> None - added:
method Layout.refresh_screen(console: Console, layout_name: str) -> None - added:
method Layout.render(console: Console, options: ConsoleOptions) -> RenderMap - added:
method Layout.split_column(*layouts: Union[Layout, RenderableType]) -> None - added:
method Layout.split_row(*layouts: Union[Layout, RenderableType]) -> None - added:
method Layout.unsplit() -> None - added:
method RowSplitter.divide(children: Sequence[Layout], region: Region) -> Iterable[Tuple[Layout, Region]] - added:
method RowSplitter.get_tree_icon() -> str - added:
method Splitter.divide(children: Sequence[Layout], region: Region) -> Iterable[Tuple[Layout, Region]] - added:
method Splitter.get_tree_icon() -> str - added:
property Layout.map -> RenderMap - added:
variable RegionMap - added:
variable RenderMap
- changed:
constructor Live(renderable: RenderableType=…, *, console: Console=…, screen: bool=…, auto_refresh: bool=…, refresh_per_second: float=…, transient: bool=…, redirect_stdout: bool=…, redirect_stderr: bool=…, vertical_overflow: VerticalOverflowMethod=…, get_renderable: Callable[[], RenderableType]=…) -> None → constructor Live(renderable: Optional[RenderableType]=…, *, console: Optional[Console]=…, screen: bool=…, auto_refresh: bool=…, refresh_per_second: float=…, transient: bool=…, redirect_stdout: bool=…, redirect_stderr: bool=…, vertical_overflow: VerticalOverflowMethod=…, get_renderable: Optional[Callable[[], RenderableType]]=…) -> None - changed:
method Live.start(refresh=…) -> None → method Live.start(refresh: bool=…) -> None - added:
property Live.is_started -> bool
- changed:
constructor RichHandler(level: Union[int, str]=…, console: Console=…, *, show_time: bool=…, show_level: bool=…, show_path: bool=…, enable_link_path: bool=…, highlighter: Highlighter=…, markup: bool=…, rich_tracebacks: bool=…, tracebacks_width: Optional[int]=…, tracebacks_extra_lines: int=…, tracebacks_theme: Optional[str]=…, tracebacks_word_wrap: bool=…, tracebacks_show_locals: bool=…, locals_max… → constructor RichHandler(level: Union[int, str]=…, console: Optional[Console]=…, *, show_time: bool=…, omit_repeated_times: bool=…, show_level: bool=…, show_path: bool=…, enable_link_path: bool=…, highlighter: Optional[Highlighter]=…, markup: bool=…, rich_tracebacks: bool=…, tracebacks_width: Optional[int]=…, tracebacks_extra_lines: int=…, tracebacks_theme: Optional[str]=…, tracebacks_word_wrap: b… - changed:
function divide() → function divide() -> None
- changed:
constructor Markdown(markup: str, code_theme: str=…, justify: JustifyMethod=…, style: Union[str, Style]=…, hyperlinks: bool=…, inline_code_lexer: str=…, inline_code_theme: str=…) -> None → constructor Markdown(markup: str, code_theme: str=…, justify: Optional[JustifyMethod]=…, style: Union[str, Style]=…, hyperlinks: bool=…, inline_code_lexer: Optional[str]=…, inline_code_theme: Optional[str]=…) -> None - changed:
constructor MarkdownContext(console: Console, options: ConsoleOptions, style: Style, inline_code_lexer: str=…, inline_code_theme: str=…) -> None → constructor MarkdownContext(console: Console, options: ConsoleOptions, style: Style, inline_code_lexer: Optional[str]=…, inline_code_theme: str=…) -> None - changed:
method MarkdownElement.on_enter(context: MarkdownContext) → method MarkdownElement.on_enter(context: MarkdownContext) -> None - changed:
static method Paragraph.create(markdown: Markdown, node) -> Paragraph → static method Paragraph.create(markdown: Markdown, node: MarkdownElement) -> Paragraph
- removed:
variable console - changed:
function escape(markup: str, _escape=…) -> str → function escape(markup: str, _escape: _EscapeSubMethod=…) -> str - changed:
function render(markup: str, style: Union[str, Style]=…, emoji: bool=…) -> Text → function render(markup: str, style: Union[str, Style]=…, emoji: bool=…, emoji_variant: Optional[EmojiVariant]=…) -> Text - added:
variable MARKUP - added:
variable RE_HANDLER - added:
variable grid
- changed:
function measure_renderables(console: Console, renderables: Iterable[RenderableType], max_width: int) -> Measurement → function measure_renderables(console: Console, options: ConsoleOptions, renderables: Iterable[RenderableType]) -> Measurement - changed:
method Measurement.clamp(min_width: int=…, max_width: int=…) -> Measurement → method Measurement.clamp(min_width: Optional[int]=…, max_width: Optional[int]=…) -> Measurement - changed:
static method Measurement.get(console: Console, renderable: RenderableType, max_width: int=…) -> Measurement → static method Measurement.get(console: Console, options: ConsoleOptions, renderable: RenderableType) -> Measurement
- changed:
constructor Panel(renderable: RenderableType, box: Box=…, *, title: TextType=…, title_align: AlignMethod=…, safe_box: Optional[bool]=…, expand: bool=…, style: StyleType=…, border_style: StyleType=…, width: Optional[int]=…, height: Optional[int]=…, padding: PaddingDimensions=…, highlight: bool=…) -> None → constructor Panel(renderable: RenderableType, box: Box=…, *, title: Optional[TextType]=…, title_align: AlignMethod=…, subtitle: Optional[TextType]=…, subtitle_align: AlignMethod=…, safe_box: Optional[bool]=…, expand: bool=…, style: StyleType=…, border_style: StyleType=…, width: Optional[int]=…, height: Optional[int]=…, padding: PaddingDimensions=…, highlight: bool=…) -> None - changed:
static method Panel.fit(renderable: RenderableType, box: Box=…, *, title: TextType=…, title_align: AlignMethod=…, safe_box: Optional[bool]=…, style: StyleType=…, border_style: StyleType=…, width: Optional[int]=…, padding: PaddingDimensions=…) → static method Panel.fit(renderable: RenderableType, box: Box=…, *, title: Optional[TextType]=…, title_align: AlignMethod=…, subtitle: Optional[TextType]=…, subtitle_align: AlignMethod=…, safe_box: Optional[bool]=…, style: StyleType=…, border_style: StyleType=…, width: Optional[int]=…, padding: PaddingDimensions=…) -> Panel
- removed:
property Node.separator -> str - changed:
class Pretty → class Pretty(JupyterMixin) - changed:
constructor Pretty(_object: Any, highlighter: HighlighterType=…, *, indent_size: int=…, justify: JustifyMethod=…, overflow: Optional[OverflowMethod]=…, no_wrap: Optional[bool]=…, indent_guides: bool=…, max_length: int=…, max_string: int=…, expand_all: bool=…, margin: int=…, insert_line: bool=…) -> None → constructor Pretty(_object: Any, highlighter: Optional[HighlighterType]=…, *, indent_size: int=…, justify: Optional[JustifyMethod]=…, overflow: Optional[OverflowMethod]=…, no_wrap: Optional[bool]=…, indent_guides: bool=…, max_length: Optional[int]=…, max_string: Optional[int]=…, expand_all: bool=…, margin: int=…, insert_line: bool=…) -> None - changed:
function install(console: Console=…, overflow: OverflowMethod=…, crop: bool=…, indent_guides: bool=…, max_length: int=…, max_string: int=…, expand_all: bool=…) -> None → function install(console: Optional[Console]=…, overflow: OverflowMethod=…, crop: bool=…, indent_guides: bool=…, max_length: Optional[int]=…, max_string: Optional[int]=…, expand_all: bool=…) -> None - changed:
function pprint(_object: Any, *, console: Console=…, indent_guides: bool=…, max_length: int=…, max_string: int=…, expand_all: bool=…) → function pprint(_object: Any, *, console: Optional[Console]=…, indent_guides: bool=…, max_length: Optional[int]=…, max_string: Optional[int]=…, expand_all: bool=…) -> None - changed:
function pretty_repr(_object: Any, *, max_width: int=…, indent_size: int=…, max_length: int=…, max_string: int=…, expand_all: bool=…) -> str → function pretty_repr(_object: Any, *, max_width: int=…, indent_size: int=…, max_length: Optional[int]=…, max_string: Optional[int]=…, expand_all: bool=…) -> str - changed:
function traverse(_object: Any, max_length: int=…, max_string: int=…) -> Node → function traverse(_object: Any, max_length: Optional[int]=…, max_string: Optional[int]=…) -> Node - added:
field Node.separator: str
- changed:
constructor BarColumn(bar_width: Optional[int]=…, style: StyleType=…, complete_style: StyleType=…, finished_style: StyleType=…, pulse_style: StyleType=…, table_column: Column=…) -> None → constructor BarColumn(bar_width: Optional[int]=…, style: StyleType=…, complete_style: StyleType=…, finished_style: StyleType=…, pulse_style: StyleType=…, table_column: Optional[Column]=…) -> None - changed:
constructor DownloadColumn(binary_units: bool=…, table_column: Column=…) -> None → constructor DownloadColumn(binary_units: bool=…, table_column: Optional[Column]=…) -> None - changed:
constructor Progress(*columns: Union[str, ProgressColumn], console: Console=…, auto_refresh: bool=…, refresh_per_second: float=…, speed_estimate_period: float=…, transient: bool=…, redirect_stdout: bool=…, redirect_stderr: bool=…, get_time: GetTimeCallable=…, disable: bool=…, expand: bool=…) -> None → constructor Progress(*columns: Union[str, ProgressColumn], console: Optional[Console]=…, auto_refresh: bool=…, refresh_per_second: float=…, speed_estimate_period: float=…, transient: bool=…, redirect_stdout: bool=…, redirect_stderr: bool=…, get_time: Optional[GetTimeCallable]=…, disable: bool=…, expand: bool=…) -> None - changed:
constructor ProgressColumn(table_column: Column=…) -> None → constructor ProgressColumn(table_column: Optional[Column]=…) -> None - changed:
constructor RenderableColumn(renderable: RenderableType=…, *, table_column: Column=…) → constructor RenderableColumn(renderable: RenderableType=…, *, table_column: Optional[Column]=…) - changed:
constructor SpinnerColumn(spinner_name: str=…, style: Optional[StyleType]=…, speed: float=…, finished_text: TextType=…, table_column: Column=…) → constructor SpinnerColumn(spinner_name: str=…, style: Optional[StyleType]=…, speed: float=…, finished_text: TextType=…, table_column: Optional[Column]=…) - changed:
constructor TextColumn(text_format: str, style: StyleType=…, justify: JustifyMethod=…, markup: bool=…, highlighter: Highlighter=…, table_column: Column=…) -> None → constructor TextColumn(text_format: str, style: StyleType=…, justify: JustifyMethod=…, markup: bool=…, highlighter: Optional[Highlighter]=…, table_column: Optional[Column]=…) -> None - changed:
function track(sequence: Union[Sequence[ProgressType], Iterable[ProgressType]], description=…, total: int=…, auto_refresh=…, console: Optional[Console]=…, transient: bool=…, get_time: Callable[[], float]=…, refresh_per_second: float=…, style: StyleType=…, complete_style: StyleType=…, finished_style: StyleType=…, pulse_style: StyleType=…, update_period: float=…, disable: bool=…) -> Iterable[Progre… → function track(sequence: Union[Sequence[ProgressType], Iterable[ProgressType]], description: str=…, total: Optional[float]=…, auto_refresh: bool=…, console: Optional[Console]=…, transient: bool=…, get_time: Optional[Callable[[], float]]=…, refresh_per_second: float=…, style: StyleType=…, complete_style: StyleType=…, finished_style: StyleType=…, pulse_style: StyleType=…, update_period: float=…, di… - changed:
method Progress.add_task(description: str, start: bool=…, total: int=…, completed: int=…, visible: bool=…, **fields: Any) -> TaskID → method Progress.add_task(description: str, start: bool=…, total: float=…, completed: int=…, visible: bool=…, **fields: Any) -> TaskID - changed:
method Progress.reset(task_id: TaskID, *, start: bool=…, total: Optional[int]=…, completed: int=…, visible: Optional[bool]=…, description: Optional[str]=…, **fields: Any) -> None → method Progress.reset(task_id: TaskID, *, start: bool=…, total: Optional[float]=…, completed: int=…, visible: Optional[bool]=…, description: Optional[str]=…, **fields: Any) -> None - changed:
method Progress.track(sequence: Union[Iterable[ProgressType], Sequence[ProgressType]], total: int=…, task_id: Optional[TaskID]=…, description=…, update_period: float=…) -> Iterable[ProgressType] → method Progress.track(sequence: Union[Iterable[ProgressType], Sequence[ProgressType]], total: Optional[float]=…, task_id: Optional[TaskID]=…, description: str=…, update_period: float=…) -> Iterable[ProgressType] - changed:
method Progress.update(task_id: TaskID, *, total: float=…, completed: float=…, advance: float=…, description: str=…, visible: bool=…, refresh: bool=…, **fields: Any) -> None → method Progress.update(task_id: TaskID, *, total: Optional[float]=…, completed: Optional[float]=…, advance: Optional[float]=…, description: Optional[str]=…, visible: Optional[bool]=…, refresh: bool=…, **fields: Any) -> None - changed:
method SpinnerColumn.render(task: Task) -> Text → method SpinnerColumn.render(task: Task) -> RenderableType - changed:
method SpinnerColumn.set_spinner(spinner_name: str, spinner_style: Optional[StyleType]=…, speed: float=…) → method SpinnerColumn.set_spinner(spinner_name: str, spinner_style: Optional[StyleType]=…, speed: float=…) -> None
- changed:
constructor ProgressBar(total: float=…, completed: float=…, width: int=…, pulse: bool=…, style: StyleType=…, complete_style: StyleType=…, finished_style: StyleType=…, pulse_style: StyleType=…, animation_time: float=…) → constructor ProgressBar(total: float=…, completed: float=…, width: Optional[int]=…, pulse: bool=…, style: StyleType=…, complete_style: StyleType=…, finished_style: StyleType=…, pulse_style: StyleType=…, animation_time: Optional[float]=…) - changed:
method ProgressBar.update(completed: float, total: float=…) -> None → method ProgressBar.update(completed: float, total: Optional[float]=…) -> None
- changed:
constructor PromptBase(prompt: TextType=…, *, console: Console=…, password: bool=…, choices: List[str]=…, show_default: bool=…, show_choices: bool=…) -> None → constructor PromptBase(prompt: TextType=…, *, console: Optional[Console]=…, password: bool=…, choices: Optional[List[str]]=…, show_default: bool=…, show_choices: bool=…) -> None - changed:
field Confirm.choices → field Confirm.choices: List[str] - changed:
static method PromptBase.ask(prompt: TextType=…, *, console: Console=…, password: bool=…, choices: List[str]=…, show_default: bool=…, show_choices: bool=…, default: DefaultType, stream: TextIO=…) -> Union[DefaultType, PromptType] | (prompt: TextType=…, *, console: Console=…, password: bool=…, choices: List[str]=…, show_default: bool=…, show_choices: bool=…, stream: TextIO=…) -> PromptType → static method PromptBase.ask(prompt: TextType=…, *, console: Optional[Console]=…, password: bool=…, choices: Optional[List[str]]=…, show_default: bool=…, show_choices: bool=…, default: DefaultType, stream: Optional[TextIO]=…) -> Union[DefaultType, PromptType] | (prompt: TextType=…, *, console: Optional[Console]=…, password: bool=…, choices: Optional[List[str]]=…, show_default: bool=…, show_choice… - changed:
static method PromptBase.get_input(console: Console, prompt: TextType, password: bool, stream: TextIO=…) -> str → static method PromptBase.get_input(console: Console, prompt: TextType, password: bool, stream: Optional[TextIO]=…) -> str
- added:
function rich_cast(renderable: object) -> RenderableType
- added:
class Region(NamedTuple) - added:
field Region.height: int - added:
field Region.width: int - added:
field Region.x: int - added:
field Region.y: int
- added:
class Foo - added:
class ReprError(Exception) - added:
function auto(cls: Optional[T]) -> T | (*, angular: bool=…) -> Callable[[T], T] - added:
function rich_repr(cls: Optional[T]) -> T | (*, angular: bool=…) -> Callable[[T], T] - added:
variable Result - added:
variable RichReprResult - added:
variable T - added:
variable console - added:
variable foo
- changed:
function render_scope(scope: Mapping, *, title: TextType=…, sort_keys: bool=…, indent_guides: bool=…, max_length: int=…, max_string: int=…) -> ConsoleRenderable → function render_scope(scope: Mapping[str, Any], *, title: Optional[TextType]=…, sort_keys: bool=…, indent_guides: bool=…, max_length: Optional[int]=…, max_string: Optional[int]=…) -> ConsoleRenderable - changed:
function test(foo, bar) → function test(foo: float, bar: float) -> None
- changed:
constructor Screen(renderable: RenderableType=…, style: StyleType=…) -> None → constructor Screen(*renderables: RenderableType, style: Optional[StyleType]=…, application_mode: bool=…) -> None - added:
field Screen.renderable: RenderableType
- removed:
field Segment.is_control: bool - removed:
static method Segment.control(text: str, style: Optional[Style]=…) -> Segment - removed:
static method Segment.make_control(segments: Iterable[Segment]) -> Iterable[Segment] - changed:
static method Segment.adjust_line_length(line: List[Segment], length: int, style: Style=…, pad: bool=…) -> List[Segment] → static method Segment.adjust_line_length(line: List[Segment], length: int, style: Optional[Style]=…, pad: bool=…) -> List[Segment] - changed:
static method Segment.apply_style(segments: Iterable[Segment], style: Style=…, post_style: Style=…) -> Iterable[Segment] → static method Segment.apply_style(segments: Iterable[Segment], style: Optional[Style]=…, post_style: Optional[Style]=…) -> Iterable[Segment] - changed:
static method Segment.filter_control(segments: Iterable[Segment], is_control=…) -> Iterable[Segment] → static method Segment.filter_control(segments: Iterable[Segment], is_control: bool=…) -> Iterable[Segment] - changed:
static method Segment.line(is_control: bool=…) -> Segment → static method Segment.line() -> Segment - changed:
static method Segment.set_shape(lines: List[List[Segment]], width: int, height: int=…, style: Style=…, new_lines: bool=…) -> List[List[Segment]] → static method Segment.set_shape(lines: List[List[Segment]], width: int, height: Optional[int]=…, style: Optional[Style]=…, new_lines: bool=…) -> List[List[Segment]] - changed:
static method Segment.split_and_crop_lines(segments: Iterable[Segment], length: int, style: Style=…, pad: bool=…, include_new_lines: bool=…) -> Iterable[List[Segment]] → static method Segment.split_and_crop_lines(segments: Iterable[Segment], length: int, style: Optional[Style]=…, pad: bool=…, include_new_lines: bool=…) -> Iterable[List[Segment]] - added:
class ControlType(IntEnum) - added:
class SegmentLines - added:
class Segments - added:
constructor SegmentLines(lines: Iterable[List[Segment]], new_lines: bool=…) -> None - added:
constructor Segments(segments: Iterable[Segment], new_lines: bool=…) -> None - added:
field ControlType.BELL - added:
field ControlType.CARRIAGE_RETURN - added:
field ControlType.CLEAR - added:
field ControlType.CURSOR_BACKWARD - added:
field ControlType.CURSOR_DOWN - added:
field ControlType.CURSOR_FORWARD - added:
field ControlType.CURSOR_MOVE_TO - added:
field ControlType.CURSOR_MOVE_TO_COLUMN - added:
field ControlType.CURSOR_UP - added:
field ControlType.DISABLE_ALT_SCREEN - added:
field ControlType.ENABLE_ALT_SCREEN - added:
field ControlType.ERASE_IN_LINE - added:
field ControlType.HIDE_CURSOR - added:
field ControlType.HOME - added:
field ControlType.SHOW_CURSOR - added:
field Segment.control: Optional[Sequence[ControlCode]] - added:
method Segment.split_cells(cut: int) -> Tuple[Segment, Segment] - added:
property Segment.is_control -> bool - added:
static method Segment.divide(segments: Iterable[Segment], cuts: Iterable[int]) -> Iterable[List[Segment]] - added:
variable ControlCode - added:
variable log
- changed:
constructor Spinner(name: str, text: TextType=…, *, style: StyleType=…, speed=…) -> None → constructor Spinner(name: str, text: RenderableType=…, *, style: Optional[StyleType]=…, speed: float=…) -> None - changed:
method Spinner.render(time: float) -> Text → method Spinner.render(time: float) -> RenderableType - added:
method Spinner.update(*, text: RenderableType=…, style: Optional[StyleType]=…, speed: Optional[float]=…) -> None
- removed:
property Status.renderable -> Table - changed:
constructor Status(status: RenderableType, *, console: Console=…, spinner: str=…, spinner_style: StyleType=…, speed: float=…, refresh_per_second: float=…) → constructor Status(status: RenderableType, *, console: Optional[Console]=…, spinner: str=…, spinner_style: StyleType=…, speed: float=…, refresh_per_second: float=…) - changed:
method Status.update(status: Optional[RenderableType]=…, *, spinner: Optional[str]=…, spinner_style: Optional[StyleType]=…, speed: Optional[float]=…) → method Status.update(status: Optional[RenderableType]=…, *, spinner: Optional[str]=…, spinner_style: Optional[StyleType]=…, speed: Optional[float]=…) -> None - added:
property Status.renderable -> Spinner
- changed:
constructor Style(*, color: Union[Color, str]=…, bgcolor: Union[Color, str]=…, bold: bool=…, dim: bool=…, italic: bool=…, underline: bool=…, blink: bool=…, blink2: bool=…, reverse: bool=…, conceal: bool=…, strike: bool=…, underline2: bool=…, frame: bool=…, encircle: bool=…, overline: bool=…, link: str=…) → constructor Style(*, color: Optional[Union[Color, str]]=…, bgcolor: Optional[Union[Color, str]]=…, bold: Optional[bool]=…, dim: Optional[bool]=…, italic: Optional[bool]=…, underline: Optional[bool]=…, blink: Optional[bool]=…, blink2: Optional[bool]=…, reverse: Optional[bool]=…, conceal: Optional[bool]=…, strike: Optional[bool]=…, underline2: Optional[bool]=…, frame: Optional[bool]=…, encircle: Op… - changed:
method Style.get_html_style(theme: TerminalTheme=…) -> str → method Style.get_html_style(theme: Optional[TerminalTheme]=…) -> str - changed:
method Style.update_link(link: str=…) -> Style → method Style.update_link(link: Optional[str]=…) -> Style - changed:
static method Style.from_color(color: Color=…, bgcolor: Color=…) -> Style → static method Style.from_color(color: Optional[Color]=…, bgcolor: Optional[Color]=…) -> Style - added:
field Style.STYLE_ATTRIBUTES - added:
property Style.meta -> Dict[str, Any] - added:
static method Style.from_meta(meta: Optional[Dict[str, Any]]) -> Style - added:
static method Style.on(meta: Optional[Dict[str, Any]]=…, **handlers: Any) -> Style
- changed:
constructor Syntax(code: str, lexer_name: str, *, theme: Union[str, SyntaxTheme]=…, dedent: bool=…, line_numbers: bool=…, start_line: int=…, line_range: Tuple[int, int]=…, highlight_lines: Set[int]=…, code_width: Optional[int]=…, tab_size: int=…, word_wrap: bool=…, background_color: str=…, indent_guides: bool=…) -> None → constructor Syntax(code: str, lexer_name: str, *, theme: Union[str, SyntaxTheme]=…, dedent: bool=…, line_numbers: bool=…, start_line: int=…, line_range: Optional[Tuple[int, int]]=…, highlight_lines: Optional[Set[int]]=…, code_width: Optional[int]=…, tab_size: int=…, word_wrap: bool=…, background_color: Optional[str]=…, indent_guides: bool=…) -> None - changed:
method Syntax.highlight(code: str, line_range: Tuple[int, int]=…) -> Text → method Syntax.highlight(code: str, line_range: Optional[Tuple[int, int]]=…) -> Text - changed:
static method Syntax.from_path(path: str, encoding: str=…, theme: Union[str, SyntaxTheme]=…, dedent: bool=…, line_numbers: bool=…, line_range: Tuple[int, int]=…, start_line: int=…, highlight_lines: Set[int]=…, code_width: Optional[int]=…, tab_size: int=…, word_wrap: bool=…, background_color: str=…, indent_guides: bool=…) -> Syntax → static method Syntax.from_path(path: str, encoding: str=…, theme: Union[str, SyntaxTheme]=…, dedent: bool=…, line_numbers: bool=…, line_range: Optional[Tuple[int, int]]=…, start_line: int=…, highlight_lines: Optional[Set[int]]=…, code_width: Optional[int]=…, tab_size: int=…, word_wrap: bool=…, background_color: Optional[str]=…, indent_guides: bool=…) -> Syntax
- removed:
function header(text: str) -> None - removed:
property Table.expand -> int - removed:
variable console - removed:
variable highlight - removed:
variable table - changed:
constructor Table(*headers: Union[Column, str], title: TextType=…, caption: TextType=…, width: int=…, min_width: int=…, box: Optional[box.Box]=…, safe_box: Optional[bool]=…, padding: PaddingDimensions=…, collapse_padding: bool=…, pad_edge: bool=…, expand: bool=…, show_header: bool=…, show_footer: bool=…, show_edge: bool=…, show_lines: bool=…, leading: int=…, style: StyleType=…, row_styles: Iterab… → constructor Table(*headers: Union[Column, str], title: Optional[TextType]=…, caption: Optional[TextType]=…, width: Optional[int]=…, min_width: Optional[int]=…, box: Optional[box.Box]=…, safe_box: Optional[bool]=…, padding: PaddingDimensions=…, collapse_padding: bool=…, pad_edge: bool=…, expand: bool=…, show_header: bool=…, show_footer: bool=…, show_edge: bool=…, show_lines: bool=…, leading: int=…… - changed:
method Table.add_column(header: RenderableType=…, footer: RenderableType=…, *, header_style: StyleType=…, footer_style: StyleType=…, style: StyleType=…, justify: JustifyMethod=…, overflow: OverflowMethod=…, width: int=…, min_width: int=…, max_width: int=…, ratio: int=…, no_wrap: bool=…) -> None → method Table.add_column(header: RenderableType=…, footer: RenderableType=…, *, header_style: Optional[StyleType]=…, footer_style: Optional[StyleType]=…, style: Optional[StyleType]=…, justify: JustifyMethod=…, overflow: OverflowMethod=…, width: Optional[int]=…, min_width: Optional[int]=…, max_width: Optional[int]=…, ratio: Optional[int]=…, no_wrap: bool=…) -> None - changed:
method Table.add_row(*renderables: Optional[RenderableType], style: StyleType=…, end_section: bool=…) -> None → method Table.add_row(*renderables: Optional[RenderableType], style: Optional[StyleType]=…, end_section: bool=…) -> None - added:
property Table.expand -> bool
- removed:
function test(foo, bar, tjustify=…, cjustify=…) - changed:
function tabulate_mapping(mapping: Mapping, title: str=…, caption: str=…, title_justify: Optional[JustifyMethod]=…, caption_justify: Optional[JustifyMethod]=…) -> Table → function tabulate_mapping(mapping: Mapping[Any, Any], title: Optional[str]=…, caption: Optional[str]=…, title_justify: Optional[JustifyMethod]=…, caption_justify: Optional[JustifyMethod]=…) -> Table
- changed:
constructor TerminalTheme(background: _ColorTuple, foreground: _ColorTuple, normal: List[_ColorTuple], bright: List[_ColorTuple]=…) -> None → constructor TerminalTheme(background: _ColorTuple, foreground: _ColorTuple, normal: List[_ColorTuple], bright: Optional[List[_ColorTuple]]=…) -> None
- changed:
constructor Text(text: str=…, style: Union[str, Style]=…, *, justify: JustifyMethod=…, overflow: OverflowMethod=…, no_wrap: bool=…, end: str=…, tab_size: Optional[int]=…, spans: List[Span]=…) -> None → constructor Text(text: str=…, style: Union[str, Style]=…, *, justify: Optional[JustifyMethod]=…, overflow: Optional[OverflowMethod]=…, no_wrap: Optional[bool]=…, end: str=…, tab_size: Optional[int]=…, spans: Optional[List[Span]]=…) -> None - changed:
method Text.append(text: Union[Text, str], style: Union[str, Style]=…) -> Text → method Text.append(text: Union[Text, str], style: Optional[Union[str, Style]]=…) -> Text - changed:
method Text.append_tokens(tokens: Iterable[Tuple[str, Optional[StyleType]]]) → method Text.append_tokens(tokens: Iterable[Tuple[str, Optional[StyleType]]]) -> Text - changed:
method Text.expand_tabs(tab_size: int=…) -> None → method Text.expand_tabs(tab_size: Optional[int]=…) -> None - changed:
method Text.highlight_regex(re_highlight: str, style: Union[GetStyleCallable, StyleType]=…, *, style_prefix: str=…) -> int → method Text.highlight_regex(re_highlight: str, style: Optional[Union[GetStyleCallable, StyleType]]=…, *, style_prefix: str=…) -> int - changed:
method Text.split(separator=…, *, include_separator: bool=…, allow_blank: bool=…) -> Lines → method Text.split(separator: str=…, *, include_separator: bool=…, allow_blank: bool=…) -> Lines - changed:
method Text.with_indent_guides(indent_size: int=…, *, character: str=…, style: StyleType=…) -> Text → method Text.with_indent_guides(indent_size: Optional[int]=…, *, character: str=…, style: StyleType=…) -> Text - changed:
method Text.wrap(console: Console, width: int, *, justify: JustifyMethod=…, overflow: OverflowMethod=…, tab_size: int=…, no_wrap: bool=…) -> Lines → method Text.wrap(console: Console, width: int, *, justify: Optional[JustifyMethod]=…, overflow: Optional[OverflowMethod]=…, tab_size: int=…, no_wrap: Optional[bool]=…) -> Lines - changed:
static method Text.assemble(*parts: Union[str, Text, Tuple[str, StyleType]], style: Union[str, Style]=…, justify: JustifyMethod=…, overflow: OverflowMethod=…, no_wrap: bool=…, end: str=…, tab_size: int=…) -> Text → static method Text.assemble(*parts: Union[str, Text, Tuple[str, StyleType]], style: Union[str, Style]=…, justify: Optional[JustifyMethod]=…, overflow: Optional[OverflowMethod]=…, no_wrap: Optional[bool]=…, end: str=…, tab_size: int=…, meta: Optional[Dict[str, Any]]=…) -> Text - changed:
static method Text.from_markup(text: str, *, style: Union[str, Style]=…, emoji: bool=…, justify: JustifyMethod=…, overflow: OverflowMethod=…) -> Text → static method Text.from_markup(text: str, *, style: Union[str, Style]=…, emoji: bool=…, emoji_variant: Optional[EmojiVariant]=…, justify: Optional[JustifyMethod]=…, overflow: Optional[OverflowMethod]=…) -> Text - changed:
static method Text.styled(text: str, style: StyleType=…, *, justify: JustifyMethod=…, overflow: OverflowMethod=…) -> Text → static method Text.styled(text: str, style: StyleType=…, *, justify: Optional[JustifyMethod]=…, overflow: Optional[OverflowMethod]=…) -> Text - added:
method Text.apply_meta(meta: Dict[str, Any], start: int=…, end: Optional[int]=…) -> None - added:
method Text.on(meta: Optional[Dict[str, Any]]=…, **handlers: Any) -> Text - added:
property Text.markup -> str - added:
static method Text.from_ansi(text: str, *, style: Union[str, Style]=…, justify: Optional[JustifyMethod]=…, overflow: Optional[OverflowMethod]=…, no_wrap: Optional[bool]=…, end: str=…, tab_size: Optional[int]=…) -> Text
- changed:
constructor Theme(styles: Mapping[str, StyleType]=…, inherit: bool=…) → constructor Theme(styles: Optional[Mapping[str, StyleType]]=…, inherit: bool=…) - changed:
static method Theme.from_file(config_file: IO[str], source: str=…, inherit: bool=…) -> Theme → static method Theme.from_file(config_file: IO[str], source: Optional[str]=…, inherit: bool=…) -> Theme
- changed:
constructor Traceback(trace: Trace=…, width: Optional[int]=…, extra_lines: int=…, theme: Optional[str]=…, word_wrap: bool=…, show_locals: bool=…, indent_guides: bool=…, locals_max_length: int=…, locals_max_string: int=…) → constructor Traceback(trace: Optional[Trace]=…, width: Optional[int]=…, extra_lines: int=…, theme: Optional[str]=…, word_wrap: bool=…, show_locals: bool=…, indent_guides: bool=…, locals_max_length: int=…, locals_max_string: int=…, suppress: Iterable[Union[str, ModuleType]]=…, max_frames: int=…) - changed:
function bar(a) → function bar(a: Any) -> None - changed:
function error() → function error() -> None - changed:
function foo(a) → function foo(a: Any) -> None - changed:
function install(*, console: Console=…, width: Optional[int]=…, extra_lines: int=…, theme: Optional[str]=…, word_wrap: bool=…, show_locals: bool=…, indent_guides: bool=…) -> Callable → function install(*, console: Optional[Console]=…, width: Optional[int]=…, extra_lines: int=…, theme: Optional[str]=…, word_wrap: bool=…, show_locals: bool=…, indent_guides: bool=…, suppress: Iterable[Union[str, ModuleType]]=…, max_frames: int=…) -> Callable[[Type[BaseException], BaseException, Optional[TracebackType]], Any] - changed:
static method Traceback.from_exception(exc_type: Type, exc_value: BaseException, traceback: Optional[TracebackType], width: Optional[int]=…, extra_lines: int=…, theme: Optional[str]=…, word_wrap: bool=…, show_locals: bool=…, indent_guides: bool=…, locals_max_length: int=…, locals_max_string: int=…) -> Traceback → static method Traceback.from_exception(exc_type: Type[Any], exc_value: BaseException, traceback: Optional[TracebackType], width: Optional[int]=…, extra_lines: int=…, theme: Optional[str]=…, word_wrap: bool=…, show_locals: bool=…, indent_guides: bool=…, locals_max_length: int=…, locals_max_string: int=…, suppress: Iterable[Union[str, ModuleType]]=…, max_frames: int=…) -> Traceback
- changed:
constructor Tree(label: RenderableType, *, style: StyleType=…, guide_style: StyleType=…, expanded=…, highlight=…) -> None → constructor Tree(label: RenderableType, *, style: StyleType=…, guide_style: StyleType=…, expanded: bool=…, highlight: bool=…, hide_root: bool=…) -> None - changed:
method Tree.add(label: RenderableType, *, style: StyleType=…, guide_style: StyleType=…, expanded=…, highlight=…) -> Tree → method Tree.add(label: RenderableType, *, style: Optional[StyleType]=…, guide_style: Optional[StyleType]=…, expanded: bool=…, highlight: bool=…) -> Tree