Commit 7a4587c
committed
Move out some exceptions to TaskSDK
As part of the ongoing server/client separation,
this commit moves out some exceptions to the Task sdk.
The AirflowException usage in task sdk has been changed to
RuntimeError.
Also, the TaskNotFound exception is still duplicated due to
the many usages in core API and SDK.1 parent c00f1d7 commit 7a4587c
File tree
48 files changed
+432
-398
lines changed- airflow-core
- src/airflow
- api_fastapi
- core_api/routes/public
- execution_api/routes
- cli/commands
- example_dags
- models
- serialization
- utils
- tests/unit
- core
- dags
- models
- sensors
- serialization
- ti_deps/deps
- utils
- providers/standard/src/airflow/providers/standard/example_dags
- task-sdk
- src/airflow/sdk
- bases
- definitions
- _internal
- decorators
- execution_time
- tests/task_sdk
- bases
- definitions
- decorators
- execution_time
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
48 files changed
+432
-398
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1656 | 1656 | | |
1657 | 1657 | | |
1658 | 1658 | | |
| 1659 | + | |
1659 | 1660 | | |
1660 | 1661 | | |
1661 | 1662 | | |
1662 | 1663 | | |
| 1664 | + | |
1663 | 1665 | | |
1664 | 1666 | | |
1665 | 1667 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
81 | 80 | | |
82 | 81 | | |
| 82 | + | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | 26 | | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | 35 | | |
37 | 36 | | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | 27 | | |
29 | 28 | | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
0 commit comments