Commit 4d317a3
authored
Refactoring workload list parsing to Python (#1089)
* Refactoring workload list parsing to Python
* Fix goldens to use [0] instead of [*] in refactoring branch
* Remove _sum_counts from refactoring branch
* Update goldens
* Update goldens with PYTHONPATH=src
* Remove test-queued-job and move super_slicing test to wildcard
* Address refactoring feedback: fix row delimiter, restore headers, use case-insensitive matching
* Address refactoring feedback: add ROW_DELIMITER const, render <empty> row when empty
* Rename delimiter and fix cluster delete workloads parsing
* Migrate to JSON parsing and use _WorkloadListRow dataclass1 parent 989ba24 commit 4d317a3
5 files changed
Lines changed: 523 additions & 91 deletions
File tree
- recipes
- src/xpk/core
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
| 20 | + | |
| 21 | + | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
57 | | - | |
| 56 | + | |
| 57 | + | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| |||
0 commit comments