@@ -315,9 +315,9 @@ def Hook(self, id=None, **kwargs):
315
315
316
316
If id is None, returns a list of hooks.
317
317
318
- If id is an integer, test the matching hook.
318
+ If id is an integer, tests the matching hook.
319
319
320
- If id is a dict, create a new object using attributes provided. The
320
+ If id is a dict, creates a new object using attributes provided. The
321
321
object is NOT saved on the server. Use the save() method on the object
322
322
to write it on the server.
323
323
"""
@@ -328,42 +328,46 @@ def Project(self, id=None, **kwargs):
328
328
329
329
If id is None, returns a list of projects.
330
330
331
- If id is an integer, returns the matching project (or raise a
331
+ If id is an integer, returns the matching project (or raises a
332
332
GitlabGetError if not found)
333
333
334
- If id is a dict, create a new object using attributes provided. The
334
+ If id is a dict, creates a new object using attributes provided. The
335
335
object is NOT saved on the server. Use the save() method on the object
336
336
to write it on the server.
337
337
"""
338
338
return self ._getListOrObject (Project , id , ** kwargs )
339
339
340
340
def Group (self , id = None , ** kwargs ):
341
- """Creates/gets/lists groups (s) known by the GitLab server.
341
+ """Creates/gets/lists group (s) known by the GitLab server.
342
342
343
- If id is None, returns a list of projects .
343
+ If id is None, returns a list of groups .
344
344
345
- If id is an integer, returns the matching project (or raise a
345
+ If id is an integer, returns the matching group (or raises a
346
346
GitlabGetError if not found)
347
347
348
- If id is a dict, create a new object using attributes provided. The
348
+ If id is a dict, creates a new object using attributes provided. The
349
349
object is NOT saved on the server. Use the save() method on the object
350
350
to write it on the server.
351
351
"""
352
352
return self ._getListOrObject (Group , id , ** kwargs )
353
353
354
354
def Issue (self , id = None , ** kwargs ):
355
- """Lists issues(s) known by the GitLab server."""
355
+ """Lists issues(s) known by the GitLab server.
356
+
357
+ Does not support creation or getting a single issue unlike other
358
+ methods in this class yet.
359
+ """
356
360
return self ._getListOrObject (Issue , id , ** kwargs )
357
361
358
362
def User (self , id = None , ** kwargs ):
359
363
"""Creates/gets/lists users(s) known by the GitLab server.
360
364
361
- If id is None, returns a list of projects .
365
+ If id is None, returns a list of users .
362
366
363
- If id is an integer, returns the matching project (or raise a
367
+ If id is an integer, returns the matching user (or raises a
364
368
GitlabGetError if not found)
365
369
366
- If id is a dict, create a new object using attributes provided. The
370
+ If id is a dict, creates a new object using attributes provided. The
367
371
object is NOT saved on the server. Use the save() method on the object
368
372
to write it on the server.
369
373
"""
@@ -374,7 +378,7 @@ def Team(self, id=None, **kwargs):
374
378
375
379
If id is None, returns a list of teams.
376
380
377
- If id is an integer, returns the matching project (or raise a
381
+ If id is an integer, returns the matching team (or raises a
378
382
GitlabGetError if not found)
379
383
380
384
If id is a dict, create a new object using attributes provided. The
0 commit comments