Skip to content

Commit 20c92b4

Browse files
authored
Fix type hint for pydicom Tag in DICOMwebClient.lookup_keyword(). (#47)
1 parent c24f28a commit 20c92b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/dicomweb_client/api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2987,13 +2987,13 @@ def retrieve_instance_frames_rendered(
29872987

29882988
@staticmethod
29892989
def lookup_keyword(
2990-
tag: Union[str, int, Tuple[str, str], pydicom.tag.Tag]
2990+
tag: Union[str, int, Tuple[str, str], pydicom.tag.BaseTag]
29912991
) -> str:
29922992
"""Looks up the keyword of a DICOM attribute.
29932993
29942994
Parameters
29952995
----------
2996-
tag: Union[str, int, Tuple[str, str], pydicom.tag.Tag]
2996+
tag: Union[str, int, Tuple[str, str], pydicom.tag.BaseTag]
29972997
attribute tag (e.g. ``"00080018"``)
29982998
29992999
Returns

0 commit comments

Comments
 (0)