Skip to content

Conversation

@kanterov
Copy link
Collaborator

@kanterov kanterov commented Mar 26, 2025

Changes

Add support for pipelines into experimental/python.

Only the name property is supported, and the generated code will be added as a follow-up.

Why

It allows using pipelines in addition to jobs.

Tests

Unit and acceptance tests

@kanterov kanterov temporarily deployed to test-trigger-is March 26, 2025 13:32 — with GitHub Actions Inactive
@kanterov kanterov force-pushed the python-support-pipelines branch from 82f8d25 to 905203f Compare March 31, 2025 08:57
@kanterov kanterov temporarily deployed to test-trigger-is March 31, 2025 08:57 — with GitHub Actions Inactive
@kanterov kanterov force-pushed the python-support-pipelines branch from 905203f to 095303d Compare March 31, 2025 08:58
@kanterov kanterov temporarily deployed to test-trigger-is March 31, 2025 08:58 — with GitHub Actions Inactive
@kanterov kanterov force-pushed the python-support-pipelines branch from 095303d to 30d961b Compare April 2, 2025 19:06
@kanterov kanterov temporarily deployed to test-trigger-is April 2, 2025 19:06 — with GitHub Actions Inactive
@kanterov kanterov force-pushed the python-support-pipelines branch from 30d961b to ba9648a Compare April 3, 2025 07:42
@kanterov kanterov temporarily deployed to test-trigger-is April 3, 2025 07:42 — with GitHub Actions Inactive
@kanterov kanterov marked this pull request as ready for review April 3, 2025 08:56
@kanterov kanterov changed the title [Python] Support pipelines (WIP) [Python] Support pipelines Apr 3, 2025
name: VariableOrOptional[str]
"""
TODO
"""
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is this TODO for? can we drop this completely?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The pipeline class doesn't have any fields except name, which is only used as an example. There is a separate PR to add remaining fields.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you link this to this PR (or the follow-up if ready)?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 , linked

PR with generated code: #2639

@kanterov kanterov requested a review from denik April 4, 2025 12:38
Copy link
Contributor

@pietern pietern left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, bar the comments.

name: VariableOrOptional[str]
"""
TODO
"""
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you link this to this PR (or the follow-up if ready)?

@kanterov kanterov force-pushed the python-support-pipelines branch from ba9648a to dfc8de5 Compare April 8, 2025 07:43
@kanterov kanterov requested a review from pietern April 8, 2025 07:45
@kanterov
Copy link
Collaborator Author

kanterov commented Apr 8, 2025

@pietern addressed comments, please take a look again

Copy link
Contributor

@pietern pietern left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@pietern pietern temporarily deployed to test-trigger-is April 8, 2025 10:49 — with GitHub Actions Inactive
@kanterov kanterov temporarily deployed to test-trigger-is April 8, 2025 10:56 — with GitHub Actions Inactive
@kanterov kanterov added this pull request to the merge queue Apr 8, 2025
Merged via the queue into main with commit 8b7aa37 Apr 8, 2025
15 checks passed
@kanterov kanterov deleted the python-support-pipelines branch April 8, 2025 14:19
kanterov added a commit that referenced this pull request Apr 8, 2025
## Changes
Add support for pipelines into `experimental/python`.

Only the `name` property is supported, and the generated code will be
added as a follow-up.

## Why
It allows using pipelines in addition to jobs.

## Tests
Unit and acceptance tests

---------

Co-authored-by: Pieter Noordhuis <pieter.noordhuis@databricks.com>
github-merge-queue bot pushed a commit that referenced this pull request Apr 9, 2025
## Changes
Add generated code for pipelines support introduced in
#2574
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

Successfully merging this pull request may close these issues.

4 participants