Skip to content

Commit 83b9aa0

Browse files
committed
Add GraphQL utilities to Fusion; add utility functions to FusionSQLResult
1 parent 9c7247d commit 83b9aa0

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

singlestoredb/fusion/result.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
import operator
55
import re
6-
import sys
76
from typing import Any
87
from typing import Iterable
98
from typing import List
@@ -50,13 +49,7 @@ def gen() -> Iterable[Any]:
5049
return gen()
5150

5251

53-
if sys.version_info < (3, 9):
54-
StrDict = dict
55-
else:
56-
StrDict = dict[str, int]
57-
58-
59-
class FieldIndexDict(StrDict):
52+
class FieldIndexDict(dict): # type: ignore
6053
"""Case-insensitive dictionary for column name lookups."""
6154

6255
def __getitem__(self, key: str) -> int:

0 commit comments

Comments
 (0)