Skip to content

Commit ea4d40e

Browse files
fix(doc): make folder_path_pattern usage more clear (datahub-project#12298)
1 parent 92f013e commit ea4d40e

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

metadata-ingestion/src/datahub/ingestion/source/looker/looker_config.py

+8-3
Original file line numberDiff line numberDiff line change
@@ -300,11 +300,16 @@ class LookerDashboardSourceConfig(
300300

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

0 commit comments

Comments
 (0)