From 12683edc8537c176a818591f181d20f0e514f869 Mon Sep 17 00:00:00 2001 From: Chris Parsons Date: Thu, 11 Jul 2024 19:40:56 +0100 Subject: [PATCH] Skip tables that are technical not just hidden Tables are hidden with any non-nil value - we hide our tables with `technical` so would be useful to update this. --- dbtmetabase/_models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbtmetabase/_models.py b/dbtmetabase/_models.py index aed9238..d5ffa86 100644 --- a/dbtmetabase/_models.py +++ b/dbtmetabase/_models.py @@ -100,7 +100,7 @@ def export_models( field = table.get("fields", {}).get(column_name) if not field: - if table.get("visibility_type") == "hidden": + if table.get("visibility_type") is not None: table_label = "hidden table" table["stale"] = True else: