Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
misery opened this issue May 13, 2025 · 0 comments
Open

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

misery opened this issue May 13, 2025 · 0 comments

Comments

@misery
Copy link

misery commented May 13, 2025

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
caillouc added a commit to caillouc/python-gitlab that referenced this issue May 21, 2025
caillouc added a commit to caillouc/python-gitlab that referenced this issue May 21, 2025
caillouc added a commit to caillouc/python-gitlab that referenced this issue May 21, 2025
caillouc added a commit to caillouc/python-gitlab that referenced this issue May 28, 2025
JohnVillalovos pushed a commit to caillouc/python-gitlab that referenced this issue Jun 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant