Skip to content

Commit cd0a446

Browse files
dgunningclaude
andcommitted
Remove Name column from Statements rich display
LLMs can use .to_context() for full statement details; the rich display now shows only #, Statement, and Accessor for a cleaner card. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 340804a commit cd0a446

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

edgar/xbrl/statements.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2114,20 +2114,17 @@ def __rich__(self) -> Any:
21142114
stmt_table.add_column("#", style="dim", justify="right", width=4)
21152115
stmt_table.add_column("Statement", no_wrap=True)
21162116
stmt_table.add_column("Accessor", no_wrap=True)
2117-
stmt_table.add_column("Name", style=get_style("metadata"), no_wrap=True)
21182117

21192118
for stmt in core_stmts:
21202119
idx = str(stmt['index'])
21212120
stmt_type = stmt.get('type', '') or ''
21222121
friendly = type_labels.get(stmt_type, stmt_type)
21232122
accessor = type_accessors.get(stmt_type, f'[{stmt.get("index", "")}]')
2124-
definition = stmt.get('definition', '')
21252123

21262124
stmt_table.add_row(
21272125
idx,
21282126
Text(friendly, style=get_style("value_highlight")),
21292127
Text(accessor, style=get_style("hint")),
2130-
definition,
21312128
)
21322129

21332130
components.append(stmt_table)

0 commit comments

Comments
 (0)