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

Commitccf0c2a

Browse files
author
Gauvain Pocentek
committed
[docs] Fix the owned/starred usage documentation
Closes#579
1 parentd8c2488 commitccf0c2a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

‎docs/api-usage.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ parameter to get all the items when using listing methods:
187187
..code-block::python
188188
189189
all_groups= gl.groups.list(all=True)
190-
all_owned_projects= gl.projects.owned(all=True)
190+
all_owned_projects= gl.projects.list(owned=True,all=True)
191191
192192
You can define the ``per_page`` value globally to avoid passing it to every
193193
``list()`` method call:

‎docs/gl_objects/projects.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ Results can also be sorted using the following parameters:
4545
projects = gl.projects.list(visibility='public')
4646

4747
# List owned projects
48-
projects = gl.projects.owned()
48+
projects = gl.projects.list(owned=True)
4949

5050
# List starred projects
51-
projects = gl.projects.starred()
51+
projects = gl.projects.list(starred=True)
5252

5353
# Search projects
5454
projects = gl.projects.list(search='keyword')

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp