Skip to content

Commit e62574d

Browse files
committed
update
1 parent 9b487f0 commit e62574d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/lightning/data/processing/utilities.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99

1010
from typing import Optional, List, Tuple, Union
1111
import os
12-
import urllib3
1312

1413
if _LIGHTNING_CLOUD_LATEST:
1514
from lightning_cloud.rest_client import LightningClient
@@ -73,7 +72,7 @@ def _create_dataset(
7372
),
7473
project_id=project_id
7574
)
76-
except (ApiException, urllib3.exceptions.HTTPError) as ex:
75+
except ApiException as ex:
7776
# Note: This function can be called in a distributed way.
7877
# There is a race condition where one machine might create the entry before another machine
7978
# and this request would fail with duplicated key

0 commit comments

Comments
 (0)