Skip to content

Commit 9fdac10

Browse files
Update native.py: use dict instead of Dict
The capital letter alias from typing has been deprecated since Python 3.9 https://docs.python.org/3/library/typing.html#typing.Dict Signed-off-by: wyattscarpenter <[email protected]>
1 parent f835aca commit 9fdac10

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/databricks/sql/parameters/native.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
import datetime
1414
import decimal
1515
from enum import Enum, auto
16-
from typing import Dict, List, Union
16+
from typing import, List, Union
1717

1818

1919
class ParameterApproach(Enum):
@@ -699,7 +699,7 @@ def dbsql_parameter_from_primitive(
699699

700700

701701
TParameterSequence = Sequence[Union[TDbsqlParameter, TAllowedParameterValue]]
702-
TParameterDict = Dict[str, TAllowedParameterValue]
702+
TParameterDict = dict[str, TAllowedParameterValue]
703703
TParameterCollection = Union[TParameterSequence, TParameterDict]
704704

705705

0 commit comments

Comments
 (0)