Skip to content

Commit

Permalink
Power BI dataflow url (#603)
Browse files Browse the repository at this point in the history
* Add PBI dataflow URL

* Update lock file
  • Loading branch information
elic-eon authored Sep 20, 2023
1 parent 7a3277c commit b6a2610
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
1 change: 1 addition & 0 deletions metaphor/power_bi/extractor.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ def map_wi_dataflow_to_pipeline(self, workspace: WorkspaceInfo) -> None:
)
if wdf.refreshSchedule
else None,
dataflow_url=f"https://app.powerbi.com/groups/{workspace.id}/dataflows/{data_flow_id}",
),
)

Expand Down
8 changes: 4 additions & 4 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "metaphor-connectors"
version = "0.12.48"
version = "0.12.49"
license = "Apache-2.0"
description = "A collection of Python-based 'connectors' that extract metadata from various sources to ingest into the Metaphor app."
authors = ["Metaphor <[email protected]>"]
Expand Down Expand Up @@ -29,7 +29,7 @@ google-cloud-logging = { version = "^3.5.0", optional = true }
jsonschema = "^4.18.6"
lkml = { version = "^1.3.1", optional = true }
looker-sdk = { version = "^23.6.0", optional = true }
metaphor-models = "0.26.12"
metaphor-models = "0.26.13"
msal = { version = "^1.20.0", optional = true }
pycarlo = { version = "^0.8.1", optional = true }
pydantic = "^1.10.0"
Expand Down
3 changes: 2 additions & 1 deletion tests/power_bi/expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,8 @@
"times": [
"1:00:00"
]
}
},
"dataflowUrl": "https://app.powerbi.com/groups/workspace-1/dataflows/00000000-0000-0000-0001-00000000000A"
}
}
]

0 comments on commit b6a2610

Please sign in to comment.