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;








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?










share|improve this question
































    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?










    share|improve this question




























      0












      0








      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?










      share|improve this question
















      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






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      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

























          1 Answer
          1






          active

          oldest

          votes


















          0














          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.






          share|improve this answer

























          • 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










          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
          );



          );













          draft saved

          draft discarded


















          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









          0














          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.






          share|improve this answer

























          • 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















          0














          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.






          share|improve this answer

























          • 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













          0












          0








          0







          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.






          share|improve this answer













          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.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          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

















          • 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








          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.



















          draft saved

          draft discarded
















































          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.




          draft saved


          draft discarded














          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





















































          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







          Popular posts from this blog

          Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

          SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

          은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현