MCPcopy Create free account
hub / github.com/explorerhq/sql-explorer / _get_transforms

Method _get_transforms

explorer/models.py:318–323  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

316 return []
317
318 def _get_transforms(self):
319 transforms = dict(app_settings.EXPLORER_TRANSFORMS)
320 return [
321 (ix, transforms[str(h)])
322 for ix, h in enumerate(self.headers) if str(h) in transforms.keys()
323 ]
324
325 def column(self, ix):
326 return [r[ix] for r in self.data]

Callers 2

process_rowsMethod · 0.95

Calls

no outgoing calls

Tested by 1