Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
from typing import Any, Optional

from overrides import overrides
from pexpect import pxssh

from ark_sdk_python.common.connections.ark_connection import ArkConnection
from ark_sdk_python.common.connections.ssh.ark_ssh_connection import SSH_PORT
Expand All @@ -20,7 +19,7 @@ def __init__(self):
super().__init__()
self.__is_connected: bool = False
self.__is_suspended: bool = False
self.__ssh_client: Optional[pxssh.pxssh] = None
self.__ssh_client: Optional[Any] = None

@overrides
def connect(self, connection_details: ArkConnectionDetails) -> None:
Expand All @@ -34,6 +33,8 @@ def connect(self, connection_details: ArkConnectionDetails) -> None:
Raises:
ArkException: _description_
"""
from pexpect import pxssh

if self.__is_connected:
return
try:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "ark-sdk-python"
version = "2.0.2"
version = "2.0.3"
description='Official Ark SDK / CLI for CyberArk Identity Security Platform'
authors = ["CyberArk <[email protected]>", "Ofir Iluz <[email protected]"]
readme = "README.md"
Expand Down