Method
create_row_processor
(
self,
context,
query_entity,
path,
loadopt,
mapper,
result,
adapter,
populators,
)
Source from the content-addressed store, hash-verified
| 262 | ) |
| 263 | |
| 264 | def create_row_processor( |
| 265 | self, |
| 266 | context, |
| 267 | query_entity, |
| 268 | path, |
| 269 | loadopt, |
| 270 | mapper, |
| 271 | result, |
| 272 | adapter, |
| 273 | populators, |
| 274 | ): |
| 275 | # look through list of columns represented here |
| 276 | # to see which, if any, is present in the row. |
| 277 | |
| 278 | for col in self.columns: |
| 279 | if adapter: |
| 280 | col = adapter.columns[col] |
| 281 | getter = result._getter(col, False) |
| 282 | if getter: |
| 283 | populators["quick"].append((self.key, getter)) |
| 284 | break |
| 285 | else: |
| 286 | populators["expire"].append((self.key, True)) |
| 287 | |
| 288 | |
| 289 | @log.class_logger |
Callers
nothing calls this directly
Tested by
no test coverage detected