Skip to content

Wrong forks.create() example in docs #1126

Closed
@claudep

Description

@claudep

On https://python-gitlab.readthedocs.io/en/stable/gl_objects/projects.html?highlight=fork#examples, there is an example to create a fork with fork = project.forks.create() which is raising TypeError because the first positional data argument is mandatory. If passing an empty dict, Gitlab replies with 403: insufficient_scope.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions