Skip to content

Commit 8c01528

Browse files
NiallEgansusodapop
authored andcommitted
Make client Python 3.10 compatible
This PR removes the `collections.Iterable` class which was removed from Python 3.10. Adding new unit test to v1 client; run tests using Python 3.10 everything seems fine
1 parent 8b92820 commit 8c01528

File tree

1 file changed

+2
-1
lines changed
  • cmdexec/clients/python/src/databricks/sql

1 file changed

+2
-1
lines changed

cmdexec/clients/python/src/databricks/sql/utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
from collections import namedtuple, OrderedDict, Iterable
1+
from collections import namedtuple, OrderedDict
2+
from collections.abc import Iterable
23
import datetime
34
from enum import Enum
45

0 commit comments

Comments
 (0)