Skip to content

project.trigger_pipeline: missing parameter for "pipeline inputs" #3194

@misery

Description

@misery

Description of the problem, including code/CLI snippet

Since Pipeline inputs are official now the python-gitlab should support it in trigger_pipeline, too.
It seems it was not added:
https://github.com/python-gitlab/python-gitlab/blob/main/gitlab/v4/objects/projects.py#L427

    def trigger_pipeline(
        self,
        ref: str,
        token: str,
        variables: dict[str, Any] | None = None,
        **kwargs: Any,
    ) -> ProjectPipeline:

Expected Behavior

Add parameter for Pipeline inputs.

Actual Behavior

Not possible with trigger_pipeline

Specifications

  • python-gitlab version: 5.6.0
  • Gitlab server version (or gitlab.com): 17.11

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