We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a6d7da commit 37f7799Copy full SHA for 37f7799
src/lightning_app/cli/connect/data.py
@@ -16,7 +16,6 @@
16
17
import click
18
import rich
19
-from lightning_cloud.openapi import ProjectIdDataConnectionsBody
20
from rich.live import Live
21
from rich.spinner import Spinner
22
from rich.text import Text
@@ -43,6 +42,8 @@ def connect_data(
43
42
) -> None:
44
"""Create a new data connection."""
45
+ from lightning_cloud.openapi import ProjectIdDataConnectionsBody
46
+
47
if sys.platform == "win32":
48
_error_and_exit("Data connection isn't supported on windows. Open an issue on Github.")
49
0 commit comments