Commit 329e626
Add description support for Python transforms in repository integrator
Thread the optional `description` field through the Python transform
pipeline: get_python_transforms → create/compare/update methods.
This achieves parity with Jinja2 transform description handling.
The SDK-side change (InfrahubPythonTransformConfig.description) is in
opsmill/infrahub-sdk-python#887.
Closes #6382
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 75b3fc7 commit 329e626
4 files changed
Lines changed: 103 additions & 1 deletion
File tree
- backend
- infrahub/git
- tests
- fixtures/repos/car-dealership/initial__main
- unit/git
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
138 | 141 | | |
139 | 142 | | |
140 | 143 | | |
| |||
1001 | 1004 | | |
1002 | 1005 | | |
1003 | 1006 | | |
| 1007 | + | |
1004 | 1008 | | |
1005 | 1009 | | |
1006 | 1010 | | |
| |||
1133 | 1137 | | |
1134 | 1138 | | |
1135 | 1139 | | |
| 1140 | + | |
1136 | 1141 | | |
1137 | 1142 | | |
1138 | 1143 | | |
| |||
1153 | 1158 | | |
1154 | 1159 | | |
1155 | 1160 | | |
| 1161 | + | |
| 1162 | + | |
| 1163 | + | |
1156 | 1164 | | |
1157 | 1165 | | |
1158 | 1166 | | |
| |||
1172 | 1180 | | |
1173 | 1181 | | |
1174 | 1182 | | |
1175 | | - | |
| 1183 | + | |
| 1184 | + | |
1176 | 1185 | | |
1177 | 1186 | | |
1178 | 1187 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
Whitespace-only changes.
Lines changed: 92 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
0 commit comments