Since it's a class used for little more than storage, with no interesting non-magic instance methods, it makes sense for SinkConfig to be a namedtuple. The rest of its code was mostly just boilerplate, after all. What remains makes it do everything we need with only slight changes to its behavior (most notably, SinkConfig must be instantiated with all its arguments now).
|
|
||
1 |
|
1 |
|
2 |
|
2 |
|
|
3 |
|
|
|
4 |
|
|
3 |
|
5 |
|
4 |
|
6 |
|
5 |
|
7 |
|
|
|
||
210 |
|
212 |
|
211 |
|
213 |
|
212 |
|
214 |
|
213 |
|
|
|
214 |
|
|
|
215 |
|
|
|
216 |
|
|
|
217 |
|
|
|
218 |
|
|
|
219 |
|
|
|
220 |
|
|
|
221 |
|
|
|
222 |
|
|
|
223 |
|
|
|
224 |
|
|
|
225 |
|
|
|
226 |
|
|
|
227 |
|
|
|
228 |
|
|
|
229 |
|
|
|
230 |
|
|
|
|
215 |
|
|
|
216 |
|
|
231 |
|
217 |
|
232 |
|
|
|
233 |
|
|
|
234 |
|
|
|
235 |
|
|
|
236 |
|
|
|
237 |
|
|
|
238 |
|
|
|
239 |
|
|
|
240 |
|
|
|
241 |
|
|
|
242 |
|
|
|
243 |
|
|
|
244 |
|
|
|
245 |
|
|
|
246 |
|
|
|
247 |
|
|
|
248 |
|
|
|
249 |
|
|
|
250 |
|
|
|
251 |
|
|
|
252 |
|
|
|
|
218 |
|
|
|
219 |
|
|
|
220 |
|
|
|
221 |
|
|
|
222 |
|
|
253 |
|
223 |
|
254 |
|
224 |
|
255 |
|
225 |
|
|
|
||
286 |
|
256 |
|
287 |
|
257 |
|
288 |
|
258 |
|
289 |
|
|
|
290 |
|
|
|
291 |
|
|
|
292 |
|
|
|
293 |
|
|
|
294 |
|
|
|
295 |
|
|
|
296 |
|
|
|
297 |
|
|
|
298 |
|
|
|
299 |
|
|
|
300 |
|
|
|
301 |
|
|
|
302 |
|
|
|
303 |
|
|
|
304 |
|
|
|
305 |
|
|
|
306 |
|
|
|
307 |
|
|
|
308 |
|
|
|
309 |
|
|
|
310 |
|
259 |
|
311 |
|
260 |
|
312 |
|
261 |
|
|
|
||
330 |
|
279 |
|
331 |
|
280 |
|
332 |
|
281 |
|
333 |
|
|
|
|
282 |
|
|
334 |
|
283 |
|
335 |
|
284 |
|
336 |
|
285 |
|
|
|
||
117 |
|
117 |
|
118 |
|
118 |
|
119 |
|
119 |
|
120 |
|
|
|
121 |
|
|
|
|
120 |
|
|
|
121 |
|
|
|
122 |
|
|
|
123 |
|
|
122 |
|
124 |
|
123 |
|
125 |
|
124 |
|
126 |
|
|
|
||
157 |
|
159 |
|
158 |
|
160 |
|
159 |
|
161 |
|
160 |
|
|
|
|
162 |
|
|
|
163 |
|
|
161 |
|
164 |
|
162 |
|
165 |
|
163 |
|
166 |
|
164 |
|
|
|
|
167 |
|
|
165 |
|
168 |
|
166 |
|
169 |
|
167 |
|
170 |
|
|
|
||
181 |
|
184 |
|
182 |
|
185 |
|
183 |
|
186 |
|
184 |
|
|
|
|
187 |
|
|
|
188 |
|
|
185 |
|
189 |
|
186 |
|
190 |
|
187 |
|
191 |
|
188 |
|
|
|
|
192 |
|
|
189 |
|
193 |
|
190 |
|
194 |
|
191 |
|
195 |
|
|
|
||
196 |
|
200 |
|
197 |
|
201 |
|
198 |
|
202 |
|
199 |
|
|
|
|
203 |
|
|
|
204 |
|
|
200 |
|
205 |
|
201 |
|
206 |
|
202 |
|
207 |
|