Skip to content
This repository was archived by the owner on Sep 9, 2026. It is now read-only.

Commit e812ec9

Browse files
authored
chore(ci): hide hubble import (#1001)
Signed-off-by: Sami Jaghouar <sami.jaghouar@hotmail.fr> Signed-off-by: Sami Jaghouar <sami.jaghouar@hotmail.fr>
1 parent 18dd57f commit e812ec9

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

docarray/helper.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
from typing import Any, Dict, Optional, Sequence, Tuple, Union, TYPE_CHECKING
1010
from collections import Counter
1111

12-
import hubble
13-
1412
if TYPE_CHECKING: # pragma: no cover
1513
from docarray import Document, DocumentArray
1614

@@ -525,9 +523,13 @@ def login(interactive: Optional[bool] = None, force: bool = False, **kwargs):
525523
:param interactive: If set to true, login will support notebook environments, otherwise the enviroment will be inferred.
526524
:param force: If set to true, overwrite token and re-login.
527525
"""
526+
import hubble
527+
528528
hubble.login(interactive=interactive, force=force)
529529

530530

531531
def logout():
532532
"""Log out of Hubble account."""
533+
import hubble
534+
533535
hubble.logout()

0 commit comments

Comments
 (0)