8000 project.trigger_pipeline: missing parameter for "pipeline inputs" · Issue #3194 · python-gitlab/python-gitlab · GitHub
[go: up one dir, main page]

Skip to content
project.trigger_pipeline: missing parameter for "pipeline inputs" #3194
Open
@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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0