-
Notifications
You must be signed in to change notification settings - Fork 16.4k
make bundle_name not nullable #47592
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
Conversation
remove migration query Co-authored-by: Ephraim Anierobi <splendidzigy24@gmail.com>
|
Hi @ephraimbuddy @jedcunningham Do you think this PR looks good already, or you think more testing needs to be done? |
Since Airflow 3 has been released, we should update the PR with new migration file instead of editing the add-dagbundlemodel migration file. Sorry that it didn't make it to 3.0.0 |
|
PR is updated to use new migration file, as 3.0 is rolled out. |
airflow-core/src/airflow/migrations/versions/0069_3_1_0_make_bundle_name_not_nullable.py
Outdated
Show resolved
Hide resolved
…undle_name_not_nullable.py Co-authored-by: Ephraim Anierobi <splendidzigy24@gmail.com>
airflow-core/src/airflow/migrations/versions/0069_3_1_0_make_bundle_name_not_nullable.py
Outdated
Show resolved
Hide resolved
…undle_name_not_nullable.py Update downgrade Co-authored-by: Ephraim Anierobi <splendidzigy24@gmail.com>
|
Hi @jedcunningham, PR updated. All test functions now add dag bundle with fixture. For adding dag bundle in helper functions, |
airflow-core/src/airflow/migrations/versions/0079_3_1_0_make_bundle_name_not_nullable.py
Show resolved
Hide resolved
airflow-core/tests/unit/api_fastapi/core_api/routes/public/test_import_error.py
Show resolved
Hide resolved
providers/common/sql/tests/unit/common/sql/operators/test_sql.py
Outdated
Show resolved
Hide resolved
| ('example_dags'), | ||
| ('dags-folder') |
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.
Not related to this PR at all, damn this mix of dash and underscore is an eye sore.
Change bundle_name in dag not nullable and prepopulate the value in the migration: #46734
Closes: #46734