Closed eeshangarg closed 6 years ago
@rishig: Just updated this in response to your feedback. As for your questions, here are my thoughts:
Thanks! :)
@rishig: Just updated this after testing the script thoroughly with both Python 2 and 3. Also, I'm not sure what we should do about the requests
dependency? I'm guessing it is not a part of the standard library so we should probably replace it with urllib
?
yeah, replacing with urllib
seems reasonable, if it's not too much work. Otherwise lgtm!
I think replacing it with urllib
isn't going to work, because that has different APIs for Python 2 vs. 3, and then you're going to need six
to handle that. Let's just add pip install requests
to the docs, perhaps?
(I merged the doc changes; so we should get this in before those changes hit prod in a few days)
@rishig, @timabbott: Just updated this with a commit! The script should now print an error message if requests
isn't installed. :)
@rishig: Done! Thanks for the review! :)
@timabbott: Since the doc changes in the main repo have already been merged, I feel like I should merge this and make a PyPI release before the doc changes in the main repo hit production. :) Thanks!
@rishig: I would really appreciate it if you could please review this one! I'll also open up a PR that updates our Trello webhook docs in the main repo in a bit! Thanks! :)
@timabbott: FYI :)