File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed
backend/onyx/connectors/confluence Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change 47
47
from onyx .utils .logger import setup_logger
48
48
from onyx .utils .threadpool_concurrency import run_with_timeout
49
49
50
- # if TYPE_CHECKING:
51
- # from atlassian import Confluence # type:ignore[import-untyped]
52
-
53
50
logger = setup_logger ()
54
51
55
52
@@ -96,8 +93,6 @@ def __init__(
96
93
CONFLUENCE_CONNECTOR_USER_PROFILES_OVERRIDE
97
94
),
98
95
) -> None :
99
- # from atlassian import Confluence # type:ignore[import-untyped]
100
-
101
96
self ._is_cloud = is_cloud
102
97
self ._url = url .rstrip ("/" )
103
98
self ._credentials_provider = credentials_provider
@@ -217,7 +212,7 @@ def _probe_connection(
217
212
self ,
218
213
** kwargs : Any ,
219
214
) -> None :
220
- # from atlassian import Confluence # type:ignore[import-untyped]
215
+ from atlassian import Confluence # type:ignore[import-untyped]
221
216
222
217
merged_kwargs = {** self .shared_base_kwargs , ** kwargs }
223
218
# add special timeout to make sure that we don't hang indefinitely
@@ -297,8 +292,6 @@ def _initialize_connection_helper(
297
292
credentials : dict [str , Any ],
298
293
** kwargs : Any ,
299
294
) -> Confluence :
300
- # from atlassian import Confluence # type:ignore[import-untyped]
301
-
302
295
"""Called internally to init the connection. Distributed locking
303
296
to prevent multiple threads from modifying the credentials
304
297
must be handled around this function."""
You can’t perform that action at this time.
0 commit comments