Title: feat: add feature to get inherited member for project/group by Shkurupii · Pull Request #1187 · python-gitlab/python-gitlab · GitHub
Open Graph Title: feat: add feature to get inherited member for project/group by Shkurupii · Pull Request #1187 · python-gitlab/python-gitlab
X Title: feat: add feature to get inherited member for project/group by Shkurupii · Pull Request #1187 · python-gitlab/python-gitlab
Description: Hi! This PR about feature #1133. Here I propose to introduce new custom managers ProjectMemberAllManager (/projects/:id/members/all/:user_id) and GroupMemberAllManager (/groups/:id/members/all/:user_id). Subsequently, in order to fetch a list or instance of members including inherited ones, you will need to: project = gl.projects.get(project_id) project.members_all.list() project.members_all.get(member_id) group = gl.groups.get(group_id) group.members_all.list() group.members_all.get(member_id) I had thought about group.members.all(id=group_id) also. But then changed my mind. If the approach is right?
Open Graph Description: Hi! This PR about feature #1133. Here I propose to introduce new custom managers ProjectMemberAllManager (/projects/:id/members/all/:user_id) and GroupMemberAllManager (/groups/:id/members/all/:use...
X Description: Hi! This PR about feature #1133. Here I propose to introduce new custom managers ProjectMemberAllManager (/projects/:id/members/all/:user_id) and GroupMemberAllManager (/groups/:id/members/all/:use...
Opengraph URL: https://github.com/python-gitlab/python-gitlab/pull/1187
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:34e73f64-4d43-79bb-9ea6-e768f3102214 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | C590:97796:3407F4A:47D985B:6977C927 |
| html-safe-nonce | 6c7cdee56d69aef5856a89b2482b4aea9dc0768cf3518eadcfa70a3d0eaa0a4c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNTkwOjk3Nzk2OjM0MDdGNEE6NDdEOTg1Qjo2OTc3QzkyNyIsInZpc2l0b3JfaWQiOiI3OTU3NDQwMjYzNjAzMzQxNjA3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | c5d47c6b02a8410d8305d0e6de2dab917ae199428f41c0c1f2831341bad11a6a |
| hovercard-subject-tag | pull_request:485849429 |
| 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-gitlab/python-gitlab/pull/1187/checks |
| twitter:image | https://avatars.githubusercontent.com/u/7508179?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/7508179?s=400&v=4 |
| og:image:alt | Hi! This PR about feature #1133. Here I propose to introduce new custom managers ProjectMemberAllManager (/projects/:id/members/all/:user_id) and GroupMemberAllManager (/groups/:id/members/all/:use... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 173f8c2eae2e017de550dd28a9ea88ad5c1e52c70df7ea05bcd820330b3b2fec |
| turbo-cache-control | no-preview |
| go-import | github.com/python-gitlab/python-gitlab git https://github.com/python-gitlab/python-gitlab.git |
| octolytics-dimension-user_id | 28886265 |
| octolytics-dimension-user_login | python-gitlab |
| octolytics-dimension-repository_id | 8077625 |
| octolytics-dimension-repository_nwo | python-gitlab/python-gitlab |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 8077625 |
| octolytics-dimension-repository_network_root_nwo | python-gitlab/python-gitlab |
| 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 | 7b19554cad55a536fac18eeedb416dd87c37b1f5 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width