Skip to content

Commit

Permalink
fix(doc): make folder_path_pattern usage more clear (#12298)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinkarchacryl authored Jan 8, 2025
1 parent 92f013e commit ea4d40e
Showing 1 changed file with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -300,11 +300,16 @@ class LookerDashboardSourceConfig(

folder_path_pattern: AllowDenyPattern = Field(
default=AllowDenyPattern.allow_all(),
description="Allow or deny dashboards from specific folders. "
description="Allow or deny dashboards from specific folders using their fully qualified paths. "
"For example: \n"
"deny: \n"
" - sales/deprecated \n"
"This pattern will deny the ingestion of all dashboards and looks within the sales/deprecated folder. \n"
" - Shared/deprecated \n"
"This pattern will deny the ingestion of all dashboards and looks within the Shared/deprecated folder. \n"
"allow: \n"
" - Shared/sales \n"
"This pattern will allow only the ingestion of dashboards within the Shared/sales folder. \n"
"To get the correct path from Looker, take the folder hierarchy shown in the UI and join it with slashes. "
"For example, Shared -> Customer Reports -> Sales becomes Shared/Customer Reports/Sales. "
"Dashboards will only be ingested if they're allowed by both this config and dashboard_pattern.",
)

Expand Down

0 comments on commit ea4d40e

Please sign in to comment.