Skip to content

Commit e8d62bb

Browse files
committed
.
1 parent f3b11f5 commit e8d62bb

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

backend/onyx/connectors/confluence/onyx_confluence.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,6 @@
4747
from onyx.utils.logger import setup_logger
4848
from onyx.utils.threadpool_concurrency import run_with_timeout
4949

50-
# if TYPE_CHECKING:
51-
# from atlassian import Confluence # type:ignore[import-untyped]
52-
5350
logger = setup_logger()
5451

5552

@@ -96,8 +93,6 @@ def __init__(
9693
CONFLUENCE_CONNECTOR_USER_PROFILES_OVERRIDE
9794
),
9895
) -> None:
99-
# from atlassian import Confluence # type:ignore[import-untyped]
100-
10196
self._is_cloud = is_cloud
10297
self._url = url.rstrip("/")
10398
self._credentials_provider = credentials_provider
@@ -217,7 +212,7 @@ def _probe_connection(
217212
self,
218213
**kwargs: Any,
219214
) -> None:
220-
# from atlassian import Confluence # type:ignore[import-untyped]
215+
from atlassian import Confluence # type:ignore[import-untyped]
221216

222217
merged_kwargs = {**self.shared_base_kwargs, **kwargs}
223218
# add special timeout to make sure that we don't hang indefinitely
@@ -297,8 +292,6 @@ def _initialize_connection_helper(
297292
credentials: dict[str, Any],
298293
**kwargs: Any,
299294
) -> Confluence:
300-
# from atlassian import Confluence # type:ignore[import-untyped]
301-
302295
"""Called internally to init the connection. Distributed locking
303296
to prevent multiple threads from modifying the credentials
304297
must be handled around this function."""

0 commit comments

Comments
 (0)