Skip to content

Typo in "User custom attributes" in docs #628

@jmbeuken

Description

@jmbeuken

Description of the problem, including code/CLI snippet

in section https://python-gitlab.readthedocs.io/en/master/gl_objects/users.html#id2

replace ":" by "," :

user.customattributes.set('role': 'QA')

by

user.customattributes.set('role', 'QA')

  • python-gitlab version: 1.5.1
  • API version you are using (v3/v4): v4
  • Gitlab server version (or gitlab.com): 11.4.4

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