Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fixup python collections import #981

Merged
merged 2 commits into from
Dec 13, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions news/981-bugfix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix deprecated python collections import for py310+
2 changes: 1 addition & 1 deletion src/common/Smi_Common_Python/SmiServices/Dicom.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
""" Functions to assist with decoding DICOM files representing from JSON as Python dicts
"""

from collections import Mapping
from collections.abc import Mapping
import re
import pydicom

Expand Down