tabulardelta.formatters.detailed_text_formatter module
- class tabulardelta.formatters.detailed_text_formatter.DetailedTextFormatter[source]
Bases:
objectImplements
Formatterprotocol for detailed report of single comparison.Tries to show as much information as possible, without overwhelming the user.
Methods
format(delta: TabularDelta) -> str:
Formats comparison result
- column_changes = True
Whether to show column and type changes in the report.
- errors = True
Whether to show errors in the report.
- format(delta: TabularDelta) str[source]
Formats comparison result.
- Arguments:
- delta
TabularDelta: Metadata and result of a comparison.
- delta
- Returns
str: Detailed comparison report.
- infos = True
Whether to show additional information in the report.
- row_examples = 3
How many examples to show for added and removed rows in the report.
0 to disable.
- row_overview = True
Whether to show graphical row matching in the report.
- value_change_height = 5
Maximum lines to show per value change in the report.
Uses line-by-line diff if cells are too large.
- value_changes = 5
How many value changes per column to show in the report.
0 to disable.
- warnings = True
Whether to show warnings in the report.