summaryrefslogtreecommitdiff
path: root/gitlab/mixins.py
diff options
context:
space:
mode:
authorGauvain Pocentek <gauvain@pocentek.net>2018-06-17 16:43:14 +0200
committerGauvain Pocentek <gauvain@pocentek.net>2018-06-17 16:43:14 +0200
commitb1c63927aaa7c753fa622af5ac3637102ba9aea3 (patch)
treede97a3974f407b10914f77b7c8ccfc24a84823cb /gitlab/mixins.py
parent21e382b0c64350632a14222c43d9629cc89a9837 (diff)
downloadgitlab-b1c63927aaa7c753fa622af5ac3637102ba9aea3.tar.gz
Use the same description for **kwargs everywhere
Diffstat (limited to 'gitlab/mixins.py')
-rw-r--r--gitlab/mixins.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/gitlab/mixins.py b/gitlab/mixins.py
index bd4d8c7..2c80f36 100644
--- a/gitlab/mixins.py
+++ b/gitlab/mixins.py
@@ -32,7 +32,7 @@ class GetMixin(object):
lazy (bool): If True, don't request the server, but create a
shallow object giving access to the managers. This is
useful if you want to avoid useless calls to the API.
- **kwargs: Extra options to send to the Gitlab server (e.g. sudo)
+ **kwargs: Extra options to send to the server (e.g. sudo)
Returns:
object: The generated RESTObject.
@@ -56,7 +56,7 @@ class GetWithoutIdMixin(object):
"""Retrieve a single object.
Args:
- **kwargs: Extra options to send to the Gitlab server (e.g. sudo)
+ **kwargs: Extra options to send to the server (e.g. sudo)
Returns:
object: The generated RESTObject
@@ -77,7 +77,7 @@ class RefreshMixin(object):
"""Refresh a single object from server.
Args:
- **kwargs: Extra options to send to the Gitlab server (e.g. sudo)
+ **kwargs: Extra options to send to the server (e.g. sudo)
Returns None (updates the object)
@@ -104,7 +104,7 @@ class ListMixin(object):
page (int): ID of the page to return (starts with page 1)
as_list (bool): If set to False and no pagination option is
defined, return a generator instead of a list
- **kwargs: Extra options to send to the Gitlab server (e.g. sudo)
+ **kwargs: Extra options to send to the server (e.g. sudo)
Returns:
list: The list of objects, or a generator if `as_list` is False
@@ -168,7 +168,7 @@ class CreateMixin(object):
Args:
data (dict): parameters to send to the server to create the
resource
- **kwargs: Extra options to send to the Gitlab server (e.g. sudo)
+ **kwargs: Extra options to send to the server (e.g. sudo)
Returns:
RESTObject: a new instance of the managed object class built with
@@ -244,7 +244,7 @@ class UpdateMixin(object):
Args:
id: ID of the object to update (can be None if not required)
new_data: the update data for the object
- **kwargs: Extra options to send to the Gitlab server (e.g. sudo)
+ **kwargs: Extra options to send to the server (e.g. sudo)
Returns:
dict: The new object data (*not* a RESTObject)
@@ -313,7 +313,7 @@ class DeleteMixin(object):
Args:
id: ID of the object to delete
- **kwargs: Extra options to send to the Gitlab server (e.g. sudo)
+ **kwargs: Extra options to send to the server (e.g. sudo)
Raises:
GitlabAuthenticationError: If authentication is not correct