Skip to content

Commit da5ccc2

Browse files
committed
move powerbi report server to separate doc
1 parent 9418e63 commit da5ccc2

File tree

4 files changed

+5
-7
lines changed

4 files changed

+5
-7
lines changed

metadata-ingestion/scripts/docgen.py

+4-6
Original file line numberDiff line numberDiff line change
@@ -319,11 +319,9 @@ def generate(
319319
if yml_match:
320320
platform_name = yml_match.group(1).lower()
321321
plugin_name = yml_match.group(2)
322-
with open(path, "r") as doc_file:
323-
file_contents = doc_file.read()
324-
platforms[platform_name].plugins[
325-
plugin_name
326-
].starter_recipe = file_contents
322+
platforms[platform_name].plugins[
323+
plugin_name
324+
].starter_recipe = pathlib.Path(path).read_text()
327325

328326
sources_dir = f"{out_dir}/sources"
329327
os.makedirs(sources_dir, exist_ok=True)
@@ -497,7 +495,7 @@ def generate(
497495
f.write(
498496
"import FeatureAvailability from '@site/src/components/FeatureAvailability';\n\n"
499497
)
500-
f.write(f"# About DataHub Lineage\n\n")
498+
f.write("# About DataHub Lineage\n\n")
501499
f.write("<FeatureAvailability/>\n")
502500

503501
f.write(

metadata-ingestion/src/datahub/ingestion/source/powerbi_report_server/report_server.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ def report_dropped(self, view: str) -> None:
485485
self.filtered_reports.append(view)
486486

487487

488-
@platform_name("PowerBI")
488+
@platform_name("PowerBI Report Server")
489489
@config_class(PowerBiReportServerDashboardSourceConfig)
490490
@support_status(SupportStatus.INCUBATING)
491491
@capability(SourceCapability.OWNERSHIP, "Enabled by default")

0 commit comments

Comments
 (0)