Commit d1914a1
authored
Make "TaskInstance" we send between executor and workers resilient to change (#48894)
This is a similar sort of change to #48888, but in that case the fix is API
versioning, here we can't make use of that approach as the the TI isn't sent
over the API -- it's sent via the Executor to the worker.
So for now the best approach we have here is to allow extra, and be careful
when adding new fields to make sure it is version compatible.
This will need special handling in #48887 too.1 parent 669b2e0 commit d1914a1
File tree
2 files changed
+1
-4
lines changed- airflow-core/src/airflow/api_fastapi/execution_api/datamodels
- task-sdk/src/airflow/sdk/api/datamodels
2 files changed
+1
-4
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
230 | 230 | | |
231 | 231 | | |
232 | 232 | | |
233 | | - | |
| 233 | + | |
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
350 | 350 | | |
351 | 351 | | |
352 | 352 | | |
353 | | - | |
354 | | - | |
355 | | - | |
356 | 353 | | |
357 | 354 | | |
358 | 355 | | |
| |||
0 commit comments