Skip to content

Commit d4d27a6

Browse files
awaelchlilantiga
authored andcommitted
Avoid importing from lightning.app in lightning.data (#18988)
(cherry picked from commit 532c723)
1 parent 1f98f18 commit d4d27a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lightning/data/datasets/index.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import os
33
from io import TextIOWrapper
44

5-
from lightning.app.utilities.network import LightningClient
5+
from lightning_cloud.rest_client import LightningClient
66

77

88
def get_index(s3_connection_path: str, index_file_path: str) -> bool:

0 commit comments

Comments
 (0)