module loghelper.repositories.gitlab_helper

Inheritance diagram of pyquickhelper.loghelper.repositories.gitlab_helper

Short summary

module pyquickhelper.loghelper.repositories.gitlab_helper

Wrapper around GitLab API.

source on GitHub

Classes

class

truncated documentation

GitLabAPI

Wrapper around GitLab Server. The API is defined at gitlabhq/doc/api

GitLabException

specific exception, stores the request

Methods

method

truncated documentation

__init__

constructor

__init__

__str__

usual

get_projects

returns a list of dictionaries

login

login

Documentation

Wrapper around GitLab API.

source on GitHub

class pyquickhelper.loghelper.repositories.gitlab_helper.GitLabAPI(host, verify_ssl=True)[source][source]

Bases: object

Wrapper around GitLab Server.

The API is defined at gitlabhq/doc/api

source on GitHub

constructor

Parameters
  • host – git lab host

  • verify_ssl – use_ssl (SSL connection)

source on GitHub

__init__(host, verify_ssl=True)[source][source]

constructor

Parameters
  • host – git lab host

  • verify_ssl – use_ssl (SSL connection)

source on GitHub

get_projects(page=1, per_page=100)[source][source]

returns a list of dictionaries

Returns

list of dictionaries

source on GitHub

login(user, password)[source][source]
Parameters
  • user – user

  • password – password

source on GitHub

exception pyquickhelper.loghelper.repositories.gitlab_helper.GitLabException(mes, req=None)[source][source]

Bases: Exception

specific exception, stores the request

source on GitHub

Parameters
  • mes – message

  • req – request which caused the failure

source on GitHub

__init__(mes, req=None)[source][source]
Parameters
  • mes – message

  • req – request which caused the failure

source on GitHub

__str__()[source][source]

usual

source on GitHub