Title: feat: add feature to get inherited member for project/group by Shkurupii · Pull Request #1376 · python-gitlab/python-gitlab · GitHub
Open Graph Title: feat: add feature to get inherited member for project/group by Shkurupii · Pull Request #1376 · python-gitlab/python-gitlab
X Title: feat: add feature to get inherited member for project/group by Shkurupii · Pull Request #1376 · python-gitlab/python-gitlab
Description: Hi! First of all excuse me for inconvenience. I failed my previous PR(#1187) branch during rebasing, so PR automatically were closed. Briefly, PR about the same, feature #1133, and taking into account @nejch 's suggestion from (#1187) 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) @JacobHenner , just fyi. Closes #1133
Open Graph Description: Hi! First of all excuse me for inconvenience. I failed my previous PR(#1187) branch during rebasing, so PR automatically were closed. Briefly, PR about the same, feature #1133, and taking into acc...
X Description: Hi! First of all excuse me for inconvenience. I failed my previous PR(#1187) branch during rebasing, so PR automatically were closed. Briefly, PR about the same, feature #1133, and taking into acc...
Opengraph URL: https://github.com/python-gitlab/python-gitlab/pull/1376
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:069f21c6-4482-80bf-41cd-f5a773c1b2a0 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E020:3D45D4:8EBA9A9:B89F7FE:69770793 |
| html-safe-nonce | 242e086bae643eea9081fb49344a49a5352daf84f24a58b6cfe32f2423991bf7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMDIwOjNENDVENDo4RUJBOUE5OkI4OUY3RkU6Njk3NzA3OTMiLCJ2aXNpdG9yX2lkIjoiOTA2NTI3NzgzNTgwNjQ0MzQxMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | aa1fb2e960ad20506619db395997ced102b42c3a9e69addf99c60f638f74f23b |
| hovercard-subject-tag | pull_request:593280596 |
| 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/python-gitlab/python-gitlab/pull/1376/files |
| 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! First of all excuse me for inconvenience. I failed my previous PR(#1187) branch during rebasing, so PR automatically were closed. Briefly, PR about the same, feature #1133, and taking into acc... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 01d198479908d09a841b2febe8eb105a81af2af7d81830960fe0971e1f4adc09 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f752335dbbea672610081196a1998e39aec5e14b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width