Skip to content

Commit 790158b

Browse files
Update native.py: try typing TAllowedParameterValue more completely
This is a stab at fixing #669; I'm not sure it's correct, but if it is then it will probably save somebody some time down the road if I make this PR now.
1 parent fd81c5a commit 790158b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/databricks/sql/parameters/native.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ class DatabricksSupportedType(Enum):
6363
bool,
6464
decimal.Decimal,
6565
None,
66-
list,
67-
dict,
68-
tuple,
66+
list[TAllowedParameterValue],
67+
dict[TAllowedParameterValue, TAllowedParameterValue],
68+
tuple[TAllowedParameterValue, ...]
6969
]
7070

7171

0 commit comments

Comments
 (0)