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

Commit80eab7b

Browse files
author
Gauvain Pocentek
committed
Fix Args attribute in docstrings
1 parent72e783d commit80eab7b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

‎gitlab/mixins.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ class AccessRequestMixin(object):
300300
defapprove(self,access_level=gitlab.DEVELOPER_ACCESS,**kwargs):
301301
"""Approve an access request.
302302
303-
Attrs:
303+
Args:
304304
access_level (int): The access level for the user
305305
**kwargs: Extra options to send to the server (e.g. sudo)
306306

‎gitlab/v3/objects.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ class GroupAccessRequest(GitlabObject):
423423
defapprove(self,access_level=gitlab.DEVELOPER_ACCESS,**kwargs):
424424
"""Approve an access request.
425425
426-
Attrs:
426+
Args:
427427
access_level (int): The access level for the user.
428428
429429
Raises:
@@ -1720,7 +1720,7 @@ class ProjectAccessRequest(GitlabObject):
17201720
defapprove(self,access_level=gitlab.DEVELOPER_ACCESS,**kwargs):
17211721
"""Approve an access request.
17221722
1723-
Attrs:
1723+
Args:
17241724
access_level (int): The access level for the user.
17251725
17261726
Raises:
@@ -2278,7 +2278,7 @@ class Group(GitlabObject):
22782278
deftransfer_project(self,id,**kwargs):
22792279
"""Transfers a project to this new groups.
22802280
2281-
Attrs:
2281+
Args:
22822282
id (int): ID of the project to transfer.
22832283
22842284
Raises:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp