Skip to content

Error during authentication in v4 by using email+password #311

@ViachaslauKabak

Description

@ViachaslauKabak

switching to v4
updated python-gitlab to 1.0.0
pyhon 2.7

import gitlab
gl3 = gitlab.Gitlab('http://servername', email='Jenkins_git', password='PassW0rd', api_version=4)
gl3.auth()
Traceback (most recent call last):
File "", line 1, in
File "/usr/lib/python2.7/site-packages/gitlab/init.py", line 184, in auth
self._credentials_auth()
File "/usr/lib/python2.7/site-packages/gitlab/init.py", line 203, in _credentials_auth
manager = self._objects.CurrentUserManager()
TypeError: init() takes at least 2 arguments (1 given)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions