Skip to content

Commit a0f2275

Browse files
committed
docstring fix
1 parent c58601c commit a0f2275

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/dicomweb_client/web.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -877,9 +877,7 @@ def _build_multipart_accept_header_field_value(
877877
media_types: Union[Tuple[Union[str, Tuple[str, str]], ...], None]
878878
Acceptable media types and optionally the UIDs of the corresponding
879879
transfer syntaxes
880-
supported_media_types: Union[
881-
Mapping[str, Union[str, Tuple[str, ...]]], Set[str]
882-
]
880+
supported_media_types: Union[Mapping[str, Union[str, Tuple[str, ...]]], Set[str]]
883881
Set of supported media types or mapping of transfer syntaxes
884882
to their corresponding media types
885883
@@ -888,7 +886,7 @@ def _build_multipart_accept_header_field_value(
888886
str
889887
Accept header field value
890888
891-
"""
889+
""" # noqa: E501
892890
if not isinstance(media_types, (list, tuple, set)):
893891
raise TypeError(
894892
'Acceptable media types must be provided as a sequence.'

0 commit comments

Comments
 (0)