Skip to content

Commit bc44908

Browse files
committed
fix mypy fail
Signed-off-by: jerome_Hsieh <[email protected]>
1 parent 109a1aa commit bc44908

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

monai/apps/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ def extractall(
301301
)
302302

303303

304-
def get_filename_from_url(data_url: str):
304+
def get_filename_from_url(data_url: str) -> str:
305305
try:
306306
if "drive.google.com" in data_url:
307307
response = requests.head(data_url, allow_redirects=True)

0 commit comments

Comments
 (0)