-
Notifications
You must be signed in to change notification settings - Fork 14.5k
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
Create CustomJob and Datasets operators for Vertex AI service #20077
Conversation
airflow/providers/google/cloud/example_dags/example_vertex_ai.py
Outdated
Show resolved
Hide resolved
airflow/providers/google/cloud/example_dags/example_vertex_ai.py
Outdated
Show resolved
Hide resolved
100781f
to
3787260
Compare
Tests are failing - please fix and rebase. |
4303c1e
to
3c1b4ca
Compare
@potiuk could we merge this PR ? |
@josh-fell @mik-laj @turbaszek @vikramkoka @ashb @potiuk hi guys what about this PR, could we merge it? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be nice if the Custom Job operators had docstrings for params/types so they are exposed in the Airflow documentation.
airflow/providers/google/cloud/operators/vertex_ai/custom_job.py
Outdated
Show resolved
Hide resolved
11b1d45
to
abc7475
Compare
@potiuk @josh-fell hi guys could you look on my PR one more time and approve/merge if all looks good? |
Just a small comment on a possible clarification but LGTM. |
abc7475
to
32e3e53
Compare
Yes please! |
32e3e53
to
50a18bc
Compare
@josh-fell I have deleted :type in last commit |
@MaksYermak You might have to add some local spelling dictionaries to your hook file too -- check out 1149e63 Sorry about that. |
@ashb I have run this command for check |
@ashb @josh-fell @potiuk Hi all, could we merge this PR? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Big. But looks like really all things are there. Was it - in big parts auto-generated? It certainly looks like (and we used to have airflow-munchkin for that :)), so I wonder if this is some kind of successor.
The PR most likely needs to run full matrix of tests because it modifies parts of the core of Airflow. However, committers might decide to merge it quickly and take the risk. If they don't merge it quickly - please rebase it to the latest main at your convenience, or amend the last commit of the PR, and push it with --force-with-lease. |
…apache#20077)" This reverts commit 640c0b6.
This had a bunch of failing mypy issues once it landed in main. #21203 reverted it. @MaksYermak, can you rebase your changes on current main, fix the mypy issues, and open a new PR? Thanks! |
Yeah. So the up-to-date checker did not prevent it because it was really last run 8 days ago :( . Up-to-date was pretty useless actually (or maybe not :) - this was the ONLY change with this problem. I wonder how many we prevented ) |
The up-to-date check for Python run for ~week so all the PRs raised in the last week will need to be rebased to account for MyPy changes. Hopefully there will be no more PRs from before, that have not been rebased (we had one serious MyPy problem for the apache#20077 change that was approved before the up-to-date checker was enabled in apache#21016
The up-to-date check for Python run for ~week so all the PRs raised in the last week will need to be rebased to account for MyPy changes. Hopefully there will be no more PRs from before, that have not been rebased (we had one serious MyPy problem for the #20077 change that was approved before the up-to-date checker was enabled in #21016
@potiuk @jedcunningham I have created a new PR #21253 |
Create operators for working with Custom Job and Datasets for Vertex AI service. Includes operators, hooks, example dags, tests and docs.
Co-authored-by: Wojciech Januszek [email protected]
Co-authored-by: Lukasz Wyszomirski [email protected]
Co-authored-by: Maksim Yermakou [email protected]
^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code change, Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in UPDATING.md.