Skip to content

Commit

Permalink
Fix default visibility_type for models (closes #116) (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
willbryant authored Jul 7, 2022
1 parent aee1972 commit 4ad4d05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dbtmetabase/metabase.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ def export_model(
model_description = model.description or None
model_points_of_interest = model.points_of_interest or None
model_caveats = model.caveats or None
model_visibility = model.visibility_type or "normal"
model_visibility = model.visibility_type or None

body_table = {}
if api_table.get("display_name") != model_display_name:
Expand Down

0 comments on commit 4ad4d05

Please sign in to comment.