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

Commitccbea3f

Browse files
author
Gauvain Pocentek
committed
minor docs fixes
1 parent43e8a2a commitccbea3f

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

‎gitlab/exceptions.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,10 @@ def raise_error_from_response(response, error, expected_code=200):
110110
111111
If response status code is 401, raises instead GitlabAuthenticationError.
112112
113-
response: requests response object
114-
error: Error-class or dict {return-code => class} of possible error class
115-
to raise. Should be inherited from GitLabError
113+
Args:
114+
response: requests response object
115+
error: Error-class or dict {return-code => class} of possible error
116+
class to raise. Should be inherited from GitLabError
116117
"""
117118

118119
ifexpected_code==response.status_code:

‎gitlab/objects.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1569,7 +1569,7 @@ def search(self, query, **kwargs):
15691569
**kwargs: Additional arguments to send to GitLab.
15701570
15711571
Returns:
1572-
list(Project): A list of matching projects.
1572+
list(gitlab.Gitlab.Project): A list of matching projects.
15731573
"""
15741574
returnself.gitlab._raw_list("/projects/search/"+query,Project,
15751575
**kwargs)
@@ -1582,7 +1582,7 @@ def all(self, **kwargs):
15821582
**kwargs: Additional arguments to send to GitLab.
15831583
15841584
Returns:
1585-
list(Project): The list of projects.
1585+
list(gitlab.Gitlab.Project): The list of projects.
15861586
"""
15871587
returnself.gitlab._raw_list("/projects/all",Project,**kwargs)
15881588

@@ -1594,7 +1594,7 @@ def owned(self, **kwargs):
15941594
**kwargs: Additional arguments to send to GitLab.
15951595
15961596
Returns:
1597-
list(Project): The list of owned projects.
1597+
list(gitlab.Gitlab.Project): The list of owned projects.
15981598
"""
15991599
returnself.gitlab._raw_list("/projects/owned",Project,**kwargs)
16001600

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp