diff --git a/pyproject.toml b/pyproject.toml index 0978176..8394194 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "viewser" -version = "6.4.1" +version = "6.4.2" description = "The Views 3 CLI tool" authors = ["peder2911 "] readme = "README.md" diff --git a/viewser/commands/documentation/cli.py b/viewser/commands/documentation/cli.py index e874364..953ca26 100644 --- a/viewser/commands/documentation/cli.py +++ b/viewser/commands/documentation/cli.py @@ -48,7 +48,7 @@ def list_features(obj: Dict[str, Any], loa: str): response_df = pd.DataFrame({'feature': features, 'loa hint': loas}) - print(response_df) + print(response_df.to_string()) @click.group(name="transforms") diff --git a/viewser/commands/queryset/cli.py b/viewser/commands/queryset/cli.py index 8c736a5..2e19243 100644 --- a/viewser/commands/queryset/cli.py +++ b/viewser/commands/queryset/cli.py @@ -48,7 +48,7 @@ def queryset_list(ctx_obj: Dict[str, Any]): """ result_df = pd.DataFrame(ctx_obj["operations"].list(), columns=['querysets', ]) - print(result_df) + print(result_df.to_string()) @cli.command(name="show", short_help="show code for a queryset")