Commit e10cd88
Refactor extensions architecture: replace TableIngestClient with specialized clients (#37)
## Summary
This PR refactors the extensions module architecture by decomposing the
monolithic `TableIngestClient` into three specialized, focused clients:
`FileClient`, `MaterializationClient`, and `TableClient`. This change
improves code organization, maintainability, and follows the single
responsibility principle.
## Key Accomplishments
- **Architectural improvement**: Split single large client (~463 lines)
into three focused clients totaling ~750 lines with better separation of
concerns
- **New specialized clients**:
- `FileClient`: Handles file operations and management
- `MaterializationClient`: Manages data materialization processes
- `TableClient`: Focuses on table-specific operations
- **Updated module exports**: Modified `__init__.py` and `extensions.py`
to expose the new client architecture
- **Maintained functionality**: All existing capabilities preserved
through the new client structure
## Breaking Changes
File tree
8 files changed
+828
-593
lines changed- robosystems_client/extensions
- tests
8 files changed
+828
-593
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
36 | 45 | | |
| 46 | + | |
37 | 47 | | |
38 | 48 | | |
39 | 49 | | |
| |||
177 | 187 | | |
178 | 188 | | |
179 | 189 | | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
185 | 202 | | |
| 203 | + | |
186 | 204 | | |
187 | 205 | | |
188 | 206 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
| |||
61 | 63 | | |
62 | 64 | | |
63 | 65 | | |
64 | | - | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
65 | 69 | | |
66 | 70 | | |
67 | 71 | | |
| |||
92 | 96 | | |
93 | 97 | | |
94 | 98 | | |
95 | | - | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
96 | 105 | | |
97 | 106 | | |
98 | 107 | | |
| |||
0 commit comments