blurb_it icon indicating copy to clipboard operation
blurb_it copied to clipboard

Added efficiency improvement to get_installation

Open lrjball opened this issue 5 years ago • 1 comments

I've been using this project as a template for my own github app and it has been really helpful, so thank you.

When looking through I did notice one slight enhancement - github has an endpoint to get the installation directly given a user which is easier than getting every installation of the app and looping through them all to find the user.

Hopefully this is helpful, I have tested it on my own app and the two functions return exactly the same data. I couldn't think of an easy way to add a test for this but if anyone can suggest one then I can add it in.

lrjball avatar Dec 05 '20 02:12 lrjball

All commit authors signed the Contributor License Agreement.

CLA signed

python-cla-bot[bot] avatar Apr 06 '25 13:04 python-cla-bot[bot]