File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1103,14 +1103,14 @@ def _is_staged_result(self, url: str) -> str:
1103
1103
return True
1104
1104
1105
1105
def get_download_filename_from_url (self , url : str ) -> str :
1106
- """Returns the filename for a URL. It will include
1107
- a Harmony generated ID if the data is staged.
1106
+ """For a given URL, returns the filename that will be used for download.
1107
+ It will include a Harmony generated ID prefix if the data is staged.
1108
1108
1109
1109
Args:
1110
1110
url: The location (URL) of the file to be downloaded
1111
1111
1112
1112
Returns:
1113
- The filename that will be used to name the donwloaded file.
1113
+ The filename that will be used to name the downloaded file.
1114
1114
"""
1115
1115
url_parts = url .split ('/' )
1116
1116
original_filename = url_parts [- 1 ]
You can’t perform that action at this time.
0 commit comments