Skip to content

Commit

Permalink
Mypy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
CPBridge committed Oct 19, 2024
1 parent d9facae commit c58601c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dicomweb_client/web.py
Original file line number Diff line number Diff line change
Expand Up @@ -1083,7 +1083,7 @@ def _http_get_multipart(
""" # noqa: E501
default_media_type = '*/*'
supported_media_types = {
supported_media_types: Dict[str, Union[str, Tuple[str, ...]]] = {
'1.2.840.10008.1.2.1': 'application/octet-stream',
'1.2.840.10008.1.2.5': ('image/dicom-rle', 'image/x-dicom-rle'),
'1.2.840.10008.1.2.4.50': 'image/jpeg',
Expand Down Expand Up @@ -1208,7 +1208,7 @@ def _http_get_multipart_image(
""" # noqa: E501
headers = {}
supported_media_types = {
supported_media_types: Dict[str, Union[str, Tuple[str, ...]]] = {
'1.2.840.10008.1.2.5': ('image/dicom-rle', 'image/x-dicom-rle'),
'1.2.840.10008.1.2.4.50': 'image/jpeg',
'1.2.840.10008.1.2.4.51': 'image/jpeg',
Expand Down

0 comments on commit c58601c

Please sign in to comment.