Skip to content

Commit 37f7799

Browse files
tchatonthomas
authored andcommitted
[App] Hot fix. Resolve platform CI (#16699)
Co-authored-by: thomas <[email protected]> (cherry picked from commit 68850aa)
1 parent 0a6d7da commit 37f7799

File tree

1 file changed

+2
-1
lines changed
  • src/lightning_app/cli/connect

1 file changed

+2
-1
lines changed

src/lightning_app/cli/connect/data.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717
import click
1818
import rich
19-
from lightning_cloud.openapi import ProjectIdDataConnectionsBody
2019
from rich.live import Live
2120
from rich.spinner import Spinner
2221
from rich.text import Text
@@ -43,6 +42,8 @@ def connect_data(
4342
) -> None:
4443
"""Create a new data connection."""
4544

45+
from lightning_cloud.openapi import ProjectIdDataConnectionsBody
46+
4647
if sys.platform == "win32":
4748
_error_and_exit("Data connection isn't supported on windows. Open an issue on Github.")
4849

0 commit comments

Comments
 (0)