Skip to content

Commit 95a3fe6

Browse files
author
Gauvain Pocentek
committed
docs: fix invalid Raise attribute in docstrings
1 parent 4ed22b1 commit 95a3fe6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

gitlab/v4/objects.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -771,7 +771,7 @@ def diff(self, **kwargs):
771771
Args:
772772
**kwargs: Extra options to send to the server (e.g. sudo)
773773
774-
Raise:
774+
Raises:
775775
GitlabAuthenticationError: If authentication is not correct
776776
GitlabGetError: If the diff could not be retrieved
777777
@@ -789,7 +789,7 @@ def cherry_pick(self, branch, **kwargs):
789789
branch (str): Name of target branch
790790
**kwargs: Extra options to send to the server (e.g. sudo)
791791
792-
Raise:
792+
Raises:
793793
GitlabAuthenticationError: If authentication is not correct
794794
GitlabCherryPickError: If the cherry-pick could not be performed
795795
"""
@@ -837,7 +837,7 @@ def enable(self, key_id, **kwargs):
837837
key_id (int): The ID of the key to enable
838838
**kwargs: Extra options to send to the server (e.g. sudo)
839839
840-
Raise:
840+
Raises:
841841
GitlabAuthenticationError: If authentication is not correct
842842
GitlabProjectDeployKeyError: If the key could not be enabled
843843
"""
@@ -1311,7 +1311,7 @@ def save(self, branch, commit_message, **kwargs):
13111311
commit_message (str): Message to send with the commit
13121312
**kwargs: Extra options to send to the server (e.g. sudo)
13131313
1314-
Raise:
1314+
Raises:
13151315
GitlabAuthenticationError: If authentication is not correct
13161316
GitlabUpdateError: If the server cannot perform the request
13171317
"""

0 commit comments

Comments
 (0)