Using Python with pygerrit2 Library to make API call to Gerrit From Power BI DesktopHow do I make calls to a REST api using C#?passport.js RESTful authGerrit does not trigger my jenkins jobGerrit set-review api doesn't workConverting Python REST API Calls to Power QueryPower BI Desktop - how do i see custom visualsNo Authorisation REST API after Publish HeaderPower BI - Get JWT Token from Auth APIPublish R visuals from Power BI Desktop to Power BI Service (Unmanaged Tenant)Gerrit/NoteDB User Management
During the Space Shuttle Columbia Disaster of 2003, Why Did The Flight Director Say, "Lock the doors."?
How to mark beverage cans in a cooler for a blind person?
Does this Foo machine halt?
Acceptable to cut steak before searing?
Is it possible to script what applications should open certain file extensions?
Improving software when the author can see no need for improvement
How can I tell if a flight itinerary is fake?
What is a "Genuine Geraldo interviewee"?
Are there any financial disadvantages to living significantly "below your means"?
Looking for a new job because of relocation - is it okay to tell the real reason?
Reusing story title as chapter title
Yajilin minicubes: the Hullabaloo, the Brouhaha, the Bangarang
How do I calculate the difference in lens reach between a superzoom compact and a DSLR zoom lens?
Can a College of Swords bard use Blade Flourishes multiple times in a turn?
How can glass marbles naturally occur in a desert?
Dereferencing a pointer in a for loop initializer creates a seg fault
What word can be used to describe a bug in a movie?
Why can I log in to my Facebook account with a misspelled email/password?
Infeasibility in mathematical optimization models
Why does this Pokémon I just hatched need to be healed?
Can you use Shapechange with character feats to Grapple the Tarrasque?
English - Acceptable use of parentheses in an author's name
How do we avoid CI-driven development...?
Working examples for SemidefiniteOptimization
Using Python with pygerrit2 Library to make API call to Gerrit From Power BI Desktop
How do I make calls to a REST api using C#?passport.js RESTful authGerrit does not trigger my jenkins jobGerrit set-review api doesn't workConverting Python REST API Calls to Power QueryPower BI Desktop - how do i see custom visualsNo Authorisation REST API after Publish HeaderPower BI - Get JWT Token from Auth APIPublish R visuals from Power BI Desktop to Power BI Service (Unmanaged Tenant)Gerrit/NoteDB User Management
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I've recently started using power BI. I am trying to get data from Gerrit Rest Api Using Python. The following code works fine when I run it locally on my machine.
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")
In Power BI it doesn't cause any errors, but there are no results in the resulting Navigator Pane.
This seems to be the same problem outlined in this forum https://community.powerbi.com/t5/Desktop/Load-JSON-as-source-via-Python/td-p/485375
But I don't see any real resolution.
Is there any other way I can accomplish this?
python-3.x rest powerbi gerrit
add a comment |
I've recently started using power BI. I am trying to get data from Gerrit Rest Api Using Python. The following code works fine when I run it locally on my machine.
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")
In Power BI it doesn't cause any errors, but there are no results in the resulting Navigator Pane.
This seems to be the same problem outlined in this forum https://community.powerbi.com/t5/Desktop/Load-JSON-as-source-via-Python/td-p/485375
But I don't see any real resolution.
Is there any other way I can accomplish this?
python-3.x rest powerbi gerrit
add a comment |
I've recently started using power BI. I am trying to get data from Gerrit Rest Api Using Python. The following code works fine when I run it locally on my machine.
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")
In Power BI it doesn't cause any errors, but there are no results in the resulting Navigator Pane.
This seems to be the same problem outlined in this forum https://community.powerbi.com/t5/Desktop/Load-JSON-as-source-via-Python/td-p/485375
But I don't see any real resolution.
Is there any other way I can accomplish this?
python-3.x rest powerbi gerrit
I've recently started using power BI. I am trying to get data from Gerrit Rest Api Using Python. The following code works fine when I run it locally on my machine.
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")
In Power BI it doesn't cause any errors, but there are no results in the resulting Navigator Pane.
This seems to be the same problem outlined in this forum https://community.powerbi.com/t5/Desktop/Load-JSON-as-source-via-Python/td-p/485375
But I don't see any real resolution.
Is there any other way I can accomplish this?
python-3.x rest powerbi gerrit
python-3.x rest powerbi gerrit
edited Mar 27 at 11:09
Marcelo Ávila de Oliveira
7,4432 gold badges13 silver badges27 bronze badges
7,4432 gold badges13 silver badges27 bronze badges
asked Mar 27 at 6:42
Rob AtworkRob Atwork
1
1
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
I think you must change from:
rest = GerritRestAPI(url='https://gerrit.****.com', auth=auth)
To:
rest = GerritRestAPI(url='https://gerrit.****.com/a', auth=auth)
Without the "/a" the authentication doesn't work and you're getting an empty project list.
See more details about the authentication in the Gerrit documentation here.
Doesn't work. The /a/ is put in by the pygerrit2 library. As I mentioned the python script works fine outside Power Bi. I get the project list.
– Rob Atwork
Mar 27 at 13:23
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55371246%2fusing-python-with-pygerrit2-library-to-make-api-call-to-gerrit-from-power-bi-des%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
I think you must change from:
rest = GerritRestAPI(url='https://gerrit.****.com', auth=auth)
To:
rest = GerritRestAPI(url='https://gerrit.****.com/a', auth=auth)
Without the "/a" the authentication doesn't work and you're getting an empty project list.
See more details about the authentication in the Gerrit documentation here.
Doesn't work. The /a/ is put in by the pygerrit2 library. As I mentioned the python script works fine outside Power Bi. I get the project list.
– Rob Atwork
Mar 27 at 13:23
add a comment |
I think you must change from:
rest = GerritRestAPI(url='https://gerrit.****.com', auth=auth)
To:
rest = GerritRestAPI(url='https://gerrit.****.com/a', auth=auth)
Without the "/a" the authentication doesn't work and you're getting an empty project list.
See more details about the authentication in the Gerrit documentation here.
Doesn't work. The /a/ is put in by the pygerrit2 library. As I mentioned the python script works fine outside Power Bi. I get the project list.
– Rob Atwork
Mar 27 at 13:23
add a comment |
I think you must change from:
rest = GerritRestAPI(url='https://gerrit.****.com', auth=auth)
To:
rest = GerritRestAPI(url='https://gerrit.****.com/a', auth=auth)
Without the "/a" the authentication doesn't work and you're getting an empty project list.
See more details about the authentication in the Gerrit documentation here.
I think you must change from:
rest = GerritRestAPI(url='https://gerrit.****.com', auth=auth)
To:
rest = GerritRestAPI(url='https://gerrit.****.com/a', auth=auth)
Without the "/a" the authentication doesn't work and you're getting an empty project list.
See more details about the authentication in the Gerrit documentation here.
answered Mar 27 at 11:07
Marcelo Ávila de OliveiraMarcelo Ávila de Oliveira
7,4432 gold badges13 silver badges27 bronze badges
7,4432 gold badges13 silver badges27 bronze badges
Doesn't work. The /a/ is put in by the pygerrit2 library. As I mentioned the python script works fine outside Power Bi. I get the project list.
– Rob Atwork
Mar 27 at 13:23
add a comment |
Doesn't work. The /a/ is put in by the pygerrit2 library. As I mentioned the python script works fine outside Power Bi. I get the project list.
– Rob Atwork
Mar 27 at 13:23
Doesn't work. The /a/ is put in by the pygerrit2 library. As I mentioned the python script works fine outside Power Bi. I get the project list.
– Rob Atwork
Mar 27 at 13:23
Doesn't work. The /a/ is put in by the pygerrit2 library. As I mentioned the python script works fine outside Power Bi. I get the project list.
– Rob Atwork
Mar 27 at 13:23
add a comment |
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55371246%2fusing-python-with-pygerrit2-library-to-make-api-call-to-gerrit-from-power-bi-des%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown