The âPublishedâ Python sample code contains errors with default settings. Additionally, when I edited my Python Request settings to correct the updated values were not carried into the new Publication.
The first issue is that my users reported errors while using the sample Python Request code snippets. They found the following:
âAllow_redirects=Falseâ is in the request function twice, so it returns a âKeyword argument repeatedâ error -> fixed if only one of it is there; delete the one at the end
âtimeout=undefinedâ I couldnât find âundefinedâ as a valid preset input anywhere online, so it looks like itâs trying to find âundefinedâ as a variable -> âNoneâ is a valid input for the timeout keyword if we want to use that as a sample
The second issue is when alerted to this I customized the configuration in the documentation to set the timeout values and to turn-off redirect. Which resulted in the following:
Which version of Postman are you using? Iâm on 7.12.0 and couldnât reproduce that. This was a known bug in previous versions but has been fixed since I believe.
Thank you for looking at my request. Funny (not really funny) thing just happened when I opened Postman to check the version.
I received a message, bottom right of screen, that my version has been updated to 7.12.0. So that would seem like a good sign if what your suggesting as an old bug was the root of my issue.
Bad thing though is that it appears my environment has LOST the updates Iâve done to the my API completely post Sept 2019. So basically, all of my work has been lost. Iâve been working on this for the past few months and several versions of the api documented and released.
The published version, V2, is still published but the source code is no longer present in my Team Workspace. Any thoughts?
Thank you for the quick review.
Environments = All instances listed however the value for the variables are all empty. I suspect this is expected but as an fyi if that means anything to you.
My Collections = All instances are listed.
Team Collections = All instances (Iâm the primary dev so most are the same).
All Collections = All are listed.
So they exist in the cloud but how would I link them back into my locally installed Postman app?