Commit b0c8980
committed
refactor(feature-store): Remove client caching from FeatureGroupManager
Remove _lf_client_cache and _s3_client_cache instance caches from
_get_lake_formation_client and _get_s3_client. Each call now creates
a fresh boto3 client directly. Remove corresponding cache-specific
unit tests (cache reuse and different-region tests).
---
X-AI-Prompt: remove client caching for lf and s3 in feature_group_manager and update tests
X-AI-Tool: kiro-cli1 parent 481e193 commit b0c8980
2 files changed
Lines changed: 6 additions & 97 deletions
File tree
- sagemaker-mlops
- src/sagemaker/mlops/feature_store
- tests/unit/sagemaker/mlops/feature_store
Lines changed: 6 additions & 35 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | 52 | | |
56 | 53 | | |
57 | 54 | | |
| |||
190 | 187 | | |
191 | 188 | | |
192 | 189 | | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
| 190 | + | |
198 | 191 | | |
199 | 192 | | |
200 | 193 | | |
| |||
203 | 196 | | |
204 | 197 | | |
205 | 198 | | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
| 199 | + | |
| 200 | + | |
217 | 201 | | |
218 | 202 | | |
219 | 203 | | |
220 | 204 | | |
221 | 205 | | |
222 | 206 | | |
223 | 207 | | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
| 208 | + | |
229 | 209 | | |
230 | 210 | | |
231 | 211 | | |
| |||
234 | 214 | | |
235 | 215 | | |
236 | 216 | | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
| 217 | + | |
| 218 | + | |
248 | 219 | | |
249 | 220 | | |
250 | 221 | | |
| |||
Lines changed: 0 additions & 62 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | 73 | | |
105 | 74 | | |
106 | 75 | | |
| |||
135 | 104 | | |
136 | 105 | | |
137 | 106 | | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | 107 | | |
170 | 108 | | |
171 | 109 | | |
| |||
0 commit comments