Skip to content

Commit

Permalink
fixed typing
Browse files Browse the repository at this point in the history
  • Loading branch information
vguptarippling committed Apr 22, 2024
1 parent 8f2e73c commit 9556b29
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rippling_cli/utils/file_utils.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import os
import zipfile
from pathlib import Path
from typing import Optional

import click
import requests # type: ignore
Expand Down Expand Up @@ -50,7 +51,7 @@ def extract_zip_to_current_cwd(filename):
delete_zip_file(file_path)


def download_file_using_url(url: str, app_display_name: str = None):
def download_file_using_url(url: str, app_display_name: Optional[str] = None):
filename = app_display_name if app_display_name else url.split("/")[-1]
output_path = Path.cwd()
output_file = output_path / filename
Expand Down

0 comments on commit 9556b29

Please sign in to comment.