Skip to content

Commit 80eab7b

Browse files
author
Gauvain Pocentek
committed
Fix Args attribute in docstrings
1 parent 72e783d commit 80eab7b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

gitlab/mixins.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ class AccessRequestMixin(object):
300300
def approve(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

+3-3
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ class GroupAccessRequest(GitlabObject):
423423
def approve(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
def approve(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
def transfer_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)