【发布时间】:2019-03-27 19:09:48
【问题描述】:
我最近开始使用 Power BI。我正在尝试使用 Python 从 Gerrit Rest Api 获取数据。当我在我的机器上本地运行以下代码时,它可以正常工作。
from requests.auth import HTTPDigestAuth
from pygerrit2.rest import GerritRestAPI
auth = HTTPDigestAuth('####', '##############')
rest = GerritRestAPI(url='https://gerrit.****.com', auth=auth)
changes = rest.get("/projects/?d")
在 Power BI 中它不会导致任何错误,但在生成的导航器窗格中没有结果。
这似乎与本论坛https://community.powerbi.com/t5/Desktop/Load-JSON-as-source-via-Python/td-p/485375中概述的问题相同
但我没有看到任何真正的解决方案。
我还有其他方法可以做到这一点吗?
【问题讨论】:
标签: python-3.x rest powerbi gerrit