Skip to content

Commit a30e472

Browse files
Take @jayantsing-db's suggestion that the type of the dict's key is probably str
That seems pretty likely. If anyone hollers, the type can be revised/expanded later. Signed-off-by: wyattscarpenter <[email protected]>
1 parent 15e1a5f commit a30e472

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/databricks/sql/parameters/native.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ class DatabricksSupportedType(Enum):
6464
decimal.Decimal,
6565
None,
6666
list["TAllowedParameterValue"],
67-
dict["TAllowedParameterValue", "TAllowedParameterValue"],
67+
dict[str, "TAllowedParameterValue"], # Should the key be str or "TAllowedParameterValue"? Not 100% sure.
6868
tuple["TAllowedParameterValue", ...],
6969
]
7070

0 commit comments

Comments
 (0)