Skip to content

Commit c58601c

Browse files
committed
Mypy fixes
1 parent d9facae commit c58601c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/dicomweb_client/web.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1083,7 +1083,7 @@ def _http_get_multipart(
10831083
10841084
""" # noqa: E501
10851085
default_media_type = '*/*'
1086-
supported_media_types = {
1086+
supported_media_types: Dict[str, Union[str, Tuple[str, ...]]] = {
10871087
'1.2.840.10008.1.2.1': 'application/octet-stream',
10881088
'1.2.840.10008.1.2.5': ('image/dicom-rle', 'image/x-dicom-rle'),
10891089
'1.2.840.10008.1.2.4.50': 'image/jpeg',
@@ -1208,7 +1208,7 @@ def _http_get_multipart_image(
12081208
12091209
""" # noqa: E501
12101210
headers = {}
1211-
supported_media_types = {
1211+
supported_media_types: Dict[str, Union[str, Tuple[str, ...]]] = {
12121212
'1.2.840.10008.1.2.5': ('image/dicom-rle', 'image/x-dicom-rle'),
12131213
'1.2.840.10008.1.2.4.50': 'image/jpeg',
12141214
'1.2.840.10008.1.2.4.51': 'image/jpeg',

0 commit comments

Comments
 (0)