File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed
Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 3030 - pydantic
3131 - types-requests
3232 - types-Jinja2
33+ - types-pydicom
34+
Original file line number Diff line number Diff line change 11[mypy]
2- python_version = 3.8
2+ python_version = 3.10
33warn_return_any =True
44strict_optional =True
55warn_no_return =True
Original file line number Diff line number Diff line change 88from dicomtrolley .core import (
99 InstanceReference ,
1010 SeriesReference ,
11+ Study ,
1112 StudyReference ,
1213)
1314from dicomtrolley .dicom_qr import DICOMQR
@@ -127,15 +128,15 @@ def create_image_level_study(
127128 study_instance_uid ,
128129 series_instance_uids : List [str ],
129130 sop_class_uids : List [str ],
130- ) -> Dataset :
131+ ) -> Study :
131132 return DICOMQR .parse_c_find_response (
132133 create_c_find_image_response (
133134 study_instance_uid , series_instance_uids , sop_class_uids
134135 )
135136 )[0 ]
136137
137138
138- def quick_image_level_study (uid ) -> Dataset :
139+ def quick_image_level_study (uid ) -> Study :
139140 """Study with 2 series and some Instances in each series"""
140141 return create_image_level_study (
141142 uid ,
You can’t perform that action at this time.
0 commit comments