Title: fix: Emulate `permissive` on REST backend (closes #222) by crazyscientist · Pull Request #223 · python-bugzilla/python-bugzilla · GitHub
Open Graph Title: fix: Emulate `permissive` on REST backend (closes #222) by crazyscientist · Pull Request #223 · python-bugzilla/python-bugzilla
X Title: fix: Emulate `permissive` on REST backend (closes #222) by crazyscientist · Pull Request #223 · python-bugzilla/python-bugzilla
Description: _BackendREST.bug_get cannot pass a permissive parameter to the server as the REST API does not honor such a parameter. With this change, permissiveness is handled inside the method: If permissive is false and a single ID or alias is requested, the "get" method is used and an exception gets raised in case of error. Otherwise, the "search" method is used, which may return an empty list, if the client is not authenticated or an ID or alias does not exist. closes #222
Open Graph Description: _BackendREST.bug_get cannot pass a permissive parameter to the server as the REST API does not honor such a parameter. With this change, permissiveness is handled inside the method: If permissive i...
X Description: _BackendREST.bug_get cannot pass a permissive parameter to the server as the REST API does not honor such a parameter. With this change, permissiveness is handled inside the method: If permissive i...
Opengraph URL: https://github.com/python-bugzilla/python-bugzilla/pull/223
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:bcb6aaed-3ad9-3511-86ef-1593bac4cce7 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | 8000:2104FC:34E7F9:493CD1:697B859D |
| html-safe-nonce | f3d6764b93a402e0c5a56eaa94347352cf9eaf0028f641c2d1176f7433dfd3a4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MDAwOjIxMDRGQzozNEU3Rjk6NDkzQ0QxOjY5N0I4NTlEIiwidmlzaXRvcl9pZCI6Ijg4MjEyMzE0Mjg5MDY0ODUxNDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 6f1ec20cb6de56b06954c7a0882d001d34b80c715edb15dc6df392922d7c3a01 |
| hovercard-subject-tag | pull_request:2119877677 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/python-bugzilla/python-bugzilla/pull/223/checks |
| twitter:image | https://avatars.githubusercontent.com/u/1128117?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1128117?s=400&v=4 |
| og:image:alt | _BackendREST.bug_get cannot pass a permissive parameter to the server as the REST API does not honor such a parameter. With this change, permissiveness is handled inside the method: If permissive i... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 26ef504c9f5eb2ac26b53c0437f934bbe4c0464979d7386917bd32d9fe70fc7a |
| turbo-cache-control | no-preview |
| go-import | github.com/python-bugzilla/python-bugzilla git https://github.com/python-bugzilla/python-bugzilla.git |
| octolytics-dimension-user_id | 12552361 |
| octolytics-dimension-user_login | python-bugzilla |
| octolytics-dimension-repository_id | 36042880 |
| octolytics-dimension-repository_nwo | python-bugzilla/python-bugzilla |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 36042880 |
| octolytics-dimension-repository_network_root_nwo | python-bugzilla/python-bugzilla |
| turbo-body-classes | logged-out env-production page-responsive full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 110a229999a4571d492aa4cedea461d88a988040 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width