From 6038fdf51516272a368a4225b8fec737ade58ae7 Mon Sep 17 00:00:00 2001 From: Rick Porter Date: Fri, 20 Feb 2026 15:07:56 -0500 Subject: [PATCH] Provide default values for display(fmt, style) --- rich_objects/display.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rich_objects/display.py b/rich_objects/display.py index 5dbbaf7..3f65c3d 100755 --- a/rich_objects/display.py +++ b/rich_objects/display.py @@ -232,8 +232,8 @@ def rich_table_factory( def display( obj: Any, - fmt: OutputFormat, - style: OutputStyle, + fmt: OutputFormat = OutputFormat.TABLE, + style: OutputStyle = OutputStyle.ALL, indent: int = 2, columns: Optional[list[str]] = None, console: Optional[Console] = None,