Skip to content

Commit

Permalink
Remove print hello
Browse files Browse the repository at this point in the history
  • Loading branch information
snejus committed Jun 16, 2024
1 parent 84d2acc commit 612e865
Show file tree
Hide file tree
Showing 3 changed files with 205 additions and 206 deletions.
2 changes: 1 addition & 1 deletion rich_tables/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ def counts_table(data: list[JSONDict]) -> Table:
diffHunk=lambda x: syntax(x, "diff"),
snippet=lambda x: border_panel(syntax(x, "python", indent_guides=True)),
query=lambda x: Text(x, style="bold"),
sql=lambda x: border_panel(sql_syntax(x)),
sql=lambda x: border_panel(sql_syntax(x.replace(r"\[", "["))),
)
fields_by_func: dict[Callable[..., RenderableType], Iterable[str]] = {
format_with_color: (
Expand Down
1 change: 0 additions & 1 deletion rich_tables/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,6 @@ def _json_dict(data: JSONDict) -> RenderableType:
if isinstance(value, (NewTable, Text, dict, Columns)):
cols.append(border_panel(value, title=key))
elif isinstance(value, ConsoleRenderable) and hasattr(value, "title"):
print("hello")
value.title = key
cols.append(value)
elif isinstance(value, ConsoleRenderable) and not isinstance(value, Markdown):
Expand Down
Loading

0 comments on commit 612e865

Please sign in to comment.