From 62f1c624421d6d6831ca85560ec1f49ee1faf114 Mon Sep 17 00:00:00 2001 From: Ermias Date: Thu, 12 Oct 2023 15:23:44 +0200 Subject: [PATCH 1/2] fix download --- python/hopsworks/core/dataset_api.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python/hopsworks/core/dataset_api.py b/python/hopsworks/core/dataset_api.py index 4893e2dc1..a4188935f 100644 --- a/python/hopsworks/core/dataset_api.py +++ b/python/hopsworks/core/dataset_api.py @@ -43,7 +43,8 @@ def __init__( ): self._project_id = project_id self._log = logging.getLogger(__name__) - + + DEFAULT_FLOW_CHUNK_SIZE = 1048576 FLOW_PERMANENT_ERRORS = [404, 413, 415, 500, 501] def download(self, path: str, local_path: str = None, overwrite: bool = False): From 40a50e85f671c4bbf1da94cc2bff1f927f6da15c Mon Sep 17 00:00:00 2001 From: Ermias Date: Thu, 12 Oct 2023 15:33:47 +0200 Subject: [PATCH 2/2] format --- python/hopsworks/core/dataset_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/hopsworks/core/dataset_api.py b/python/hopsworks/core/dataset_api.py index a4188935f..c18f71f9e 100644 --- a/python/hopsworks/core/dataset_api.py +++ b/python/hopsworks/core/dataset_api.py @@ -43,7 +43,7 @@ def __init__( ): self._project_id = project_id self._log = logging.getLogger(__name__) - + DEFAULT_FLOW_CHUNK_SIZE = 1048576 FLOW_PERMANENT_ERRORS = [404, 413, 415, 500, 501]