Skip to content

Commit e3f681d

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 e3f681d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/databricks/sql/parameters/native.py

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

0 commit comments

Comments
 (0)