Skip to content

Commit cb71e19

Browse files
committed
Update _databricks_submission.py
1 parent 6082a1b commit cb71e19

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

feathr_project/feathr/spark_provider/_databricks_submission.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,14 +98,14 @@ def upload_or_get_cloud_path(self, local_path_or_http_path: str):
9898
logger.info("Uploading folder {}", local_path_or_http_path)
9999
dest_paths = []
100100
for item in Path(local_path_or_http_path).glob('**/*.conf'):
101-
cloud_dest_path = self.upload_local_file(item.resolve())
101+
cloud_dest_path = self._upload_local_file_to_workspace(item.resolve())
102102
dest_paths.extend([cloud_dest_path])
103103
cloud_dest_path = ','.join(dest_paths)
104104
else:
105-
cloud_dest_path = self.upload_local_file(local_path_or_http_path)
105+
cloud_dest_path = self._upload_local_file_to_workspace(local_path_or_http_path)
106106
return cloud_dest_path
107107

108-
def upload_local_file(self, local_path: str) -> str:
108+
def _upload_local_file_to_workspace(self, local_path: str) -> str:
109109
"""
110110
Supports transferring file from a local path to cloud working storage.
111111
"""

0 commit comments

Comments
 (0)