in azure-kusto-data/azure/kusto/data/response.py [0:0]
def __getitem__(self, key) -> KustoResultTable:
if isinstance(key, int):
return self.tables[key]
try:
return next(t for t in self.tables if t.table_name == key)
except StopIteration:
raise LookupError(key)