Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def __iter__(self):
return PythonicIterator(self._inner.iterator())
def __iter__(self):
return PythonicIterator(self._get_hits().iterator())
def __getitem__(self, key):
try:
return PythonicIterator(self._inner.columnAs(key))
except:
rethrow_current_exception_as(KeyError)