Title: Use contextlib.suppress instead of except: pass by blablatdinov · Pull Request #113 · gitpython-developers/gitdb · GitHub
Open Graph Title: Use contextlib.suppress instead of except: pass by blablatdinov · Pull Request #113 · gitpython-developers/gitdb
X Title: Use contextlib.suppress instead of except: pass by blablatdinov · Pull Request #113 · gitpython-developers/gitdb
Description: This PR refactors the LooseObjectDB class in gitdb/db/loose.py to utilize contextlib.suppress for handling KeyError exceptions, replacing the previous try-except block. This change improves code re...
Open Graph Description: This PR refactors the LooseObjectDB class in gitdb/db/loose.py to utilize contextlib.suppress for handling KeyError exceptions, replacing the previous try-except block. This change improves code re...
X Description: This PR refactors the LooseObjectDB class in gitdb/db/loose.py to utilize contextlib.suppress for handling KeyError exceptions, replacing the previous try-except block. This change improves code re...
Opengraph URL: https://github.com/gitpython-developers/gitdb/pull/113
X: @github
Domain: redirect.github.com
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:02834705-d5ca-4b65-3860-f79cd2367252 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E866:DD5F6:228ADB6:302E9A8:69693FED |
| html-safe-nonce | 65ddbad70d6b96db5686408bf2732a9646c240393da4c89505d2ff65504c746c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFODY2OkRENUY2OjIyOEFEQjY6MzAyRTlBODo2OTY5M0ZFRCIsInZpc2l0b3JfaWQiOiIxMzEyNjI1ODcwOTU3NTI3MDIxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 2ec0ce7babff95cbc2ca53e48be8720533daee5790ffca00c61bad84c40ded7c |
| hovercard-subject-tag | pull_request:1910685596 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/gitpython-developers/gitdb/113/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/70124806c2a75775781405bbcd155d69096cbbb9fb462483263c21d122d0bc03/gitpython-developers/gitdb/pull/113 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/70124806c2a75775781405bbcd155d69096cbbb9fb462483263c21d122d0bc03/gitpython-developers/gitdb/pull/113 |
| og:image:alt | This PR refactors the LooseObjectDB class in gitdb/db/loose.py to utilize contextlib.suppress for handling KeyError exceptions, replacing the previous try-except block. This change improves code re... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | blablatdinov |
| hostname | github.com |
| expected-hostname | github.com |
| None | 54182691a21263b584d2e600b758e081b0ff1d10ffc0d2eefa51cf754b43b51d |
| turbo-cache-control | no-preview |
| go-import | github.com/gitpython-developers/gitdb git https://github.com/gitpython-developers/gitdb.git |
| octolytics-dimension-user_id | 503709 |
| octolytics-dimension-user_login | gitpython-developers |
| octolytics-dimension-repository_id | 1126093 |
| octolytics-dimension-repository_nwo | gitpython-developers/gitdb |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1126093 |
| octolytics-dimension-repository_network_root_nwo | gitpython-developers/gitdb |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | d69ac0477df0f87da03b8b06cebd187012d7a930 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width