Skip to content

Commit c0cdc9c

Browse files
fix #983. -- colllections.abc import for Python 3.10
1 parent 4142515 commit c0cdc9c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

datajoint/external.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from pathlib import Path, PurePosixPath, PureWindowsPath
2-
from collections import Mapping
2+
from collections.abc import Mapping
33
from tqdm import tqdm
44
from .settings import config
55
from .errors import DataJointError, MissingExternalFile

datajoint/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
}
5959

6060

61-
class Config(collections.MutableMapping):
61+
class Config(collections.abc.MutableMapping):
6262

6363
instance = None
6464

0 commit comments

Comments
 (0)