Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

How to get projects from subgroups?#2533

ayunwSky started this conversation inGeneral
Discussion options

I can useprojects = group.projects.list() to get projects from group with python-gitlab library,but how can I get projects from subgroups?

You must be logged in to vote

Replies: 1 comment

Comment options

@ayunwSky for specific arguments you should always check the upstream API documentation -https://docs.gitlab.com/ee/api/groups.html#list-a-groups-projects.

You're looking for this:

projects=group.projects.list(include_subgroups=True)
You must be logged in to vote
0 replies
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
General
Labels
None yet
2 participants
@ayunwSky@nejch

[8]ページ先頭

©2009-2025 Movatter.jp