Skip to content

Commit f674b69

Browse files
authored
fix: compatible with python3.8 (#234)
1 parent e8ccaa1 commit f674b69

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pydruid/query.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
# limitations under the License.
1515
#
1616

17-
import collections
1817
import json
18+
from collections.abc import MutableSequence
1919

2020
from pydruid.utils.aggregators import build_aggregators
2121
from pydruid.utils.dimensions import build_dimension
@@ -25,7 +25,7 @@
2525
from pydruid.utils.query_utils import UnicodeWriter
2626

2727

28-
class Query(collections.abc.MutableSequence):
28+
class Query(MutableSequence):
2929
"""
3030
Query objects are produced by PyDruid clients and can be used for
3131
exporting query results into TSV files or

0 commit comments

Comments
 (0)