Skip to content

Commit dcf4151

Browse files
committed
fix: import Mapping from collections.abc instead of collections
Removed in Python 3.10 refs: LINK-2389
1 parent 958a92e commit dcf4151

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

events/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import collections
1+
import collections.abc
22
import logging
33
import re
44
import warnings
@@ -57,7 +57,7 @@ def update(d, u):
5757
values at all levels of dict u
5858
"""
5959
for k, v in u.items():
60-
if isinstance(v, collections.Mapping):
60+
if isinstance(v, collections.abc.Mapping):
6161
r = update(d.get(k, {}), v)
6262
d[k] = r
6363
else:

0 commit comments

Comments
 (0)