Skip to content

Commit 28716e3

Browse files
committed
Updating README.rst ...
1 parent e5243ca commit 28716e3

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

README.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -708,6 +708,7 @@ Sample User Apps/Modules/Scripts
708708

709709
.. image:: docs/sp-for-pbi.png
710710

711+
*In order to access Power BI REST APIs, you need to ask your organization's Azure administrator to obtain TENANT_ID, CLIENT_ID and CLIENT_SECRET, and then set them in* `pbi_config.py <https://github.com/DataBooster/PyWebApi/blob/master/Sample/UserApps/PowerBIPusher/pbi_config.py>`_.
711712

712713
|
713714

Sample/UserApps/PowerBIPusher/PowerBIPusher.pyproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
<EnableUnmanagedDebugging>false</EnableUnmanagedDebugging>
2424
</PropertyGroup>
2525
<ItemGroup>
26-
<Compile Include="authorization.py" />
2726
<Compile Include="db_to_pbi.py" />
27+
<Compile Include="pbi_authorization.py" />
2828
<Compile Include="pbi_config.py" />
2929
</ItemGroup>
3030
<ItemGroup>

Sample/UserApps/PowerBIPusher/db_to_pbi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
from collections.abc import Mapping
1919
from json import loads as json_decode
2020
from simple_rest_call import rest
21-
from authorization import get_accesstoken
21+
from pbi_authorization import get_accesstoken
2222
from powerbi_push_datasets import PushDatasetsMgmt, derive_bim_from_resultsets
2323

2424

Sample/UserApps/PowerBIPusher/authorization.py renamed to Sample/UserApps/PowerBIPusher/pbi_authorization.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@ def get_accesstoken():
3838
raise Exception(response['error_description'])
3939

4040
except Exception as ex:
41-
raise Exception('Error retrieving Access token\n' + str(ex))
41+
raise Exception('Error retrieving access token\n' + str(ex))

0 commit comments

Comments
 (0)