module loghelper.repositories.gitlab_helper
¶
Short summary¶
module pyquickhelper.loghelper.repositories.gitlab_helper
Wrapper around GitLab API.
Classes¶
class |
truncated documentation |
---|---|
Wrapper around GitLab Server. The API is defined at gitlabhq/doc/api … |
|
specific exception, stores the request |
Methods¶
method |
truncated documentation |
---|---|
constructor |
|
usual |
|
returns a list of dictionaries |
|
login |
Documentation¶
Wrapper around GitLab API.
- class pyquickhelper.loghelper.repositories.gitlab_helper.GitLabAPI(host, verify_ssl=True)[source]¶
Bases:
object
Wrapper around GitLab Server.
The API is defined at gitlabhq/doc/api
constructor
- Parameters:
host – git lab host
verify_ssl – use_ssl (SSL connection)
- __init__(host, verify_ssl=True)[source]¶
constructor
- Parameters:
host – git lab host
verify_ssl – use_ssl (SSL connection)
- get_projects(page=1, per_page=100)[source]¶
returns a list of dictionaries
- Returns:
list of dictionaries
- exception pyquickhelper.loghelper.repositories.gitlab_helper.GitLabException(mes, req=None)[source]¶
Bases:
Exception
specific exception, stores the request
- Parameters:
mes – message
req – request which caused the failure