Commit 9b5ef69
authored
LIF-771: Expose export transformation group endpoint (LIF-Initiative#879)
Introduces a new export transformation group endpoint, enabling users to
download a given transformation group and it's transformations in a JSON
format suitable for external use.
There will be a follow up PR(s) to harden the endpoint and possibly
expand the testing, but this will allow the basic functionality so the
FE can be wired in.
##### Type of Change
- [x] New feature (non-breaking change which adds functionality)
##### Project Area(s) Affected
- [x] bases/
- [x] components/
- [x] API endpoints
- [ ] Documentation
- [x] Testing
---
##### Checklist
- [x] commit message follows commit guidelines (see
commitlint.config.mjs)
- [x] tests are included (unit and/or integration tests)
- [ ] documentation is changed or added (in /docs directory)
- [x] code passes linting checks (`uv run ruff check`)
- [x] code passes formatting checks (`uv run ruff format`)
- [ ] code passes type checking (`uv run ty check`)
- [x] pre-commit hooks have been run successfully
- [ ] database schema changes: migration files created and CHANGELOG.md
updated
- [ ] API changes: base (Python code) documentation in `docs/`
and project README updated
- [ ] configuration changes: relevant folder README updated
- [ ] breaking changes: added to MIGRATION.md with upgrade instructions
and CHANGELOG.md entry
##### Testing
<!-- Describe the testing you've done -->
- [x] Manual testing performed
- [x] Automated tests added/updated
- [ ] Integration testing completed1 parent 0ac1caa commit 9b5ef69
File tree
5 files changed
+406
-44
lines changed- bases/lif/mdr_restapi
- components/lif/mdr_services
- test
- bases/lif/mdr_restapi
- utils/lif
- datasets/transform_with_embeddings
- mdr
5 files changed
+406
-44
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| 5 | + | |
4 | 6 | | |
5 | 7 | | |
6 | 8 | | |
| |||
225 | 227 | | |
226 | 228 | | |
227 | 229 | | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
228 | 244 | | |
229 | 245 | | |
230 | 246 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
1023 | 1024 | | |
1024 | 1025 | | |
1025 | 1026 | | |
| 1027 | + | |
| 1028 | + | |
| 1029 | + | |
| 1030 | + | |
| 1031 | + | |
| 1032 | + | |
| 1033 | + | |
| 1034 | + | |
| 1035 | + | |
| 1036 | + | |
| 1037 | + | |
| 1038 | + | |
| 1039 | + | |
| 1040 | + | |
| 1041 | + | |
| 1042 | + | |
| 1043 | + | |
| 1044 | + | |
| 1045 | + | |
| 1046 | + | |
| 1047 | + | |
| 1048 | + | |
| 1049 | + | |
| 1050 | + | |
| 1051 | + | |
| 1052 | + | |
| 1053 | + | |
| 1054 | + | |
| 1055 | + | |
| 1056 | + | |
| 1057 | + | |
| 1058 | + | |
| 1059 | + | |
| 1060 | + | |
| 1061 | + | |
| 1062 | + | |
| 1063 | + | |
| 1064 | + | |
| 1065 | + | |
| 1066 | + | |
1026 | 1067 | | |
1027 | | - | |
| 1068 | + | |
| 1069 | + | |
| 1070 | + | |
| 1071 | + | |
| 1072 | + | |
| 1073 | + | |
1028 | 1074 | | |
1029 | 1075 | | |
1030 | 1076 | | |
| |||
1053 | 1099 | | |
1054 | 1100 | | |
1055 | 1101 | | |
1056 | | - | |
1057 | | - | |
1058 | | - | |
1059 | | - | |
1060 | | - | |
| 1102 | + | |
| 1103 | + | |
| 1104 | + | |
| 1105 | + | |
1061 | 1106 | | |
1062 | 1107 | | |
1063 | 1108 | | |
1064 | | - | |
| 1109 | + | |
1065 | 1110 | | |
1066 | 1111 | | |
1067 | 1112 | | |
| |||
1101 | 1146 | | |
1102 | 1147 | | |
1103 | 1148 | | |
| 1149 | + | |
| 1150 | + | |
| 1151 | + | |
| 1152 | + | |
| 1153 | + | |
1104 | 1154 | | |
1105 | 1155 | | |
1106 | 1156 | | |
| |||
0 commit comments