You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@TimKnight-DWP to my knowledge shared_with_groups is an attribute returned by the single group GET call, not an additional nested endpoint. So you should be able to just do:
group=gl.groups.get(123)
print(group.shared_with_groups) # [] or [{"id": 124,...}]
At least that's how I've been using it at work for a while.
Description of the problem, including code/CLI snippet
Groups have a share/unshare functionality defined on the api, but no get for the
shared_with_groups
parameter defined in gitlab api groups/:idExpected Behavior
group.shared_with_groups.list() should return an array of groups a group has been shared with
Actual Behavior
No such api is available
Specifications
The text was updated successfully, but these errors were encountered: