tabulardelta.formatters.detailed_text_formatter module
- class tabulardelta.formatters.detailed_text_formatter.DetailedTextFormatter[source]
Bases:
object
Implements
Formatter
protocol 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 per row category to show in the report.
0 to disable.
- row_overview = True
Whether to show graphical row matching in the report.
- 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.