From edccda21ef91583b26ade0db4c046bdd3e80fcc9 Mon Sep 17 00:00:00 2001 From: wd-mgreynolds Date: Mon, 23 Oct 2023 11:02:21 -0400 Subject: [PATCH] Bug fix tables_get. --- prism/commands/tables_commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prism/commands/tables_commands.py b/prism/commands/tables_commands.py index 8ebc1a5..20faa3f 100644 --- a/prism/commands/tables_commands.py +++ b/prism/commands/tables_commands.py @@ -55,7 +55,7 @@ def tables_get(ctx, isname, table, limit, offset, type_, format_, search): if format_ == 'schema': # Same as JSON, but with extraneous attributes removed. if schema_fixup(table): - logger.info(json.dumps(schema_fixup(table), indent=2)) + logger.info(json.dumps(table, indent=2)) else: # This should never happen. logger.error('invalid schema detected.')