@@ -227,7 +227,7 @@ def list(self, **kwargs):
227
227
page (int): ID of the page to return (starts with page 1)
228
228
as_list (bool): If set to False and no pagination option is
229
229
defined, return a generator instead of a list
230
- **kwargs: Extra options to send to the Gitlab server (e.g. sudo)
230
+ **kwargs: Extra options to send to the server (e.g. sudo)
231
231
232
232
Returns:
233
233
list: The list of objects, or a generator if `as_list` is False
@@ -430,7 +430,7 @@ def update(self, id=None, new_data={}, **kwargs):
430
430
Args:
431
431
id: ID of the object to update (can be None if not required)
432
432
new_data: the update data for the object
433
- **kwargs: Extra options to send to the Gitlab server (e.g. sudo)
433
+ **kwargs: Extra options to send to the server (e.g. sudo)
434
434
435
435
Returns:
436
436
dict: The new object data (*not* a RESTObject)
@@ -642,7 +642,7 @@ def create(self, data, **kwargs):
642
642
Args:
643
643
data (dict): Parameters to send to the server to create the
644
644
resource
645
- **kwargs: Extra data to send to the Gitlab server (e.g. sudo)
645
+ **kwargs: Extra options to send to the server (e.g. sudo)
646
646
647
647
Raises:
648
648
GitlabAuthenticationError: If authentication is not correct
@@ -896,7 +896,7 @@ def add_ldap_group_link(self, cn, group_access, provider, **kwargs):
896
896
group_access (int): Minimum access level for members of the LDAP
897
897
group
898
898
provider (str): LDAP provider for the LDAP group
899
- **kwargs: Extra options to send to the Gitlab server (e.g. sudo)
899
+ **kwargs: Extra options to send to the server (e.g. sudo)
900
900
901
901
Raises:
902
902
GitlabAuthenticationError: If authentication is not correct
@@ -914,7 +914,7 @@ def delete_ldap_group_link(self, cn, provider=None, **kwargs):
914
914
Args:
915
915
cn (str): CN of the LDAP group
916
916
provider (str): LDAP provider for the LDAP group
917
- **kwargs: Extra options to send to the Gitlab server (e.g. sudo)
917
+ **kwargs: Extra options to send to the server (e.g. sudo)
918
918
919
919
Raises:
920
920
GitlabAuthenticationError: If authentication is not correct
@@ -932,7 +932,7 @@ def ldap_sync(self, **kwargs):
932
932
"""Sync LDAP groups.
933
933
934
934
Args:
935
- **kwargs: Extra options to send to the Gitlab server (e.g. sudo)
935
+ **kwargs: Extra options to send to the server (e.g. sudo)
936
936
937
937
Raises:
938
938
GitlabAuthenticationError: If authentication is not correct
@@ -1004,7 +1004,7 @@ def list(self, **kwargs):
1004
1004
page (int): ID of the page to return (starts with page 1)
1005
1005
as_list (bool): If set to False and no pagination option is
1006
1006
defined, return a generator instead of a list
1007
- **kwargs: Extra options to send to the Gitlab server (e.g. sudo)
1007
+ **kwargs: Extra options to send to the server (e.g. sudo)
1008
1008
1009
1009
Returns:
1010
1010
list: The list of objects, or a generator if `as_list` is False
@@ -1387,8 +1387,8 @@ def create(self, data, **kwargs):
1387
1387
Args:
1388
1388
data (dict): Parameters to send to the server to create the
1389
1389
resource
1390
- **kwargs: Extra data to send to the Gitlab server (e.g. sudo or
1391
- 'ref_name', 'stage', 'name', 'all'.
1390
+ **kwargs: Extra options to send to the server (e.g. sudo or
1391
+ 'ref_name', 'stage', 'name', 'all')
1392
1392
1393
1393
Raises:
1394
1394
GitlabAuthenticationError: If authentication is not correct
@@ -1736,7 +1736,7 @@ def create(self, data, **kwargs):
1736
1736
Args:
1737
1737
data (dict): parameters to send to the server to create the
1738
1738
resource
1739
- **kwargs: Extra options to send to the Gitlab server (e.g. sudo)
1739
+ **kwargs: Extra options to send to the server (e.g. sudo)
1740
1740
1741
1741
Returns:
1742
1742
RESTObject, RESTObject: The source and target issues
@@ -2303,7 +2303,7 @@ def delete(self, name, **kwargs):
2303
2303
2304
2304
Args:
2305
2305
name: The name of the label
2306
- **kwargs: Extra options to send to the Gitlab server (e.g. sudo)
2306
+ **kwargs: Extra options to send to the server (e.g. sudo)
2307
2307
2308
2308
Raises:
2309
2309
GitlabAuthenticationError: If authentication is not correct
@@ -2376,7 +2376,7 @@ def get(self, file_path, ref, **kwargs):
2376
2376
Args:
2377
2377
file_path (str): Path of the file to retrieve
2378
2378
ref (str): Name of the branch, tag or commit
2379
- **kwargs: Extra options to send to the Gitlab server (e.g. sudo)
2379
+ **kwargs: Extra options to send to the server (e.g. sudo)
2380
2380
2381
2381
Raises:
2382
2382
GitlabAuthenticationError: If authentication is not correct
@@ -2399,7 +2399,7 @@ def create(self, data, **kwargs):
2399
2399
Args:
2400
2400
data (dict): parameters to send to the server to create the
2401
2401
resource
2402
- **kwargs: Extra options to send to the Gitlab server (e.g. sudo)
2402
+ **kwargs: Extra options to send to the server (e.g. sudo)
2403
2403
2404
2404
Returns:
2405
2405
RESTObject: a new instance of the managed object class built with
@@ -2424,7 +2424,7 @@ def update(self, file_path, new_data={}, **kwargs):
2424
2424
Args:
2425
2425
id: ID of the object to update (can be None if not required)
2426
2426
new_data: the update data for the object
2427
- **kwargs: Extra options to send to the Gitlab server (e.g. sudo)
2427
+ **kwargs: Extra options to send to the server (e.g. sudo)
2428
2428
2429
2429
Returns:
2430
2430
dict: The new object data (*not* a RESTObject)
@@ -2451,7 +2451,7 @@ def delete(self, file_path, branch, commit_message, **kwargs):
2451
2451
file_path (str): Path of the file to remove
2452
2452
branch (str): Branch from which the file will be removed
2453
2453
commit_message (str): Commit message for the deletion
2454
- **kwargs: Extra options to send to the Gitlab server (e.g. sudo)
2454
+ **kwargs: Extra options to send to the server (e.g. sudo)
2455
2455
2456
2456
Raises:
2457
2457
GitlabAuthenticationError: If authentication is not correct
@@ -2476,7 +2476,7 @@ def raw(self, file_path, ref, streamed=False, action=None, chunk_size=1024,
2476
2476
action (callable): Callable responsible of dealing with chunk of
2477
2477
data
2478
2478
chunk_size (int): Size of each chunk
2479
- **kwargs: Extra options to send to the Gitlab server (e.g. sudo)
2479
+ **kwargs: Extra options to send to the server (e.g. sudo)
2480
2480
2481
2481
Raises:
2482
2482
GitlabAuthenticationError: If authentication is not correct
@@ -2849,7 +2849,7 @@ def get(self, id, **kwargs):
2849
2849
lazy (bool): If True, don't request the server, but create a
2850
2850
shallow object giving access to the managers. This is
2851
2851
useful if you want to avoid useless calls to the API.
2852
- **kwargs: Extra options to send to the Gitlab server (e.g. sudo)
2852
+ **kwargs: Extra options to send to the server (e.g. sudo)
2853
2853
2854
2854
Returns:
2855
2855
object: The generated RESTObject.
@@ -2868,7 +2868,7 @@ def update(self, id=None, new_data={}, **kwargs):
2868
2868
Args:
2869
2869
id: ID of the object to update (can be None if not required)
2870
2870
new_data: the update data for the object
2871
- **kwargs: Extra options to send to the Gitlab server (e.g. sudo)
2871
+ **kwargs: Extra options to send to the server (e.g. sudo)
2872
2872
2873
2873
Returns:
2874
2874
dict: The new object data (*not* a RESTObject)
0 commit comments