Repository navigation
Commit a729bf8
Report a schema error's path the same way under every jsonschema version
jsonschema 4.26 writes $.dag.tasks[2]['__type'] where 4.23 writes
$.dag.tasks[2].__type, so the import error and three tests changed with
the installed version. Build the path from the error's absolute path.
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 962acf2 commit a729bf8
2 files changed
Lines changed: 14 additions & 4 deletions
File tree
- airflow-core
- src/airflow/serialization
- tests/unit/serialization
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
300 | 300 | | |
301 | 301 | | |
302 | 302 | | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
303 | 313 | | |
304 | 314 | | |
305 | 315 | | |
| |||
2182 | 2192 | | |
2183 | 2193 | | |
2184 | 2194 | | |
2185 | | - | |
| 2195 | + | |
2186 | 2196 | | |
2187 | 2197 | | |
2188 | 2198 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5209 | 5209 | | |
5210 | 5210 | | |
5211 | 5211 | | |
5212 | | - | |
| 5212 | + | |
5213 | 5213 | | |
5214 | | - | |
| 5214 | + | |
5215 | 5215 | | |
5216 | 5216 | | |
5217 | | - | |
| 5217 | + | |
5218 | 5218 | | |
5219 | 5219 | | |
5220 | 5220 | | |
| |||
0 commit comments