Skip to content

Commit

Permalink
fix mypy fail
Browse files Browse the repository at this point in the history
Signed-off-by: jerome_Hsieh <jerome910810@gmail.com>
  • Loading branch information
Jerome-Hsieh committed Dec 18, 2024
1 parent 109a1aa commit bc44908
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion monai/apps/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ def extractall(
)


def get_filename_from_url(data_url: str):
def get_filename_from_url(data_url: str) -> str:
try:
if "drive.google.com" in data_url:
response = requests.head(data_url, allow_redirects=True)
Expand Down

0 comments on commit bc44908

Please sign in to comment.