Skip to content

Commit

Permalink
fix import in wb_api.py
Browse files Browse the repository at this point in the history
  • Loading branch information
adriansev committed Nov 8, 2023
1 parent 89108ce commit 7683732
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 3 additions & 0 deletions alienpy/alien.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ def shlex_join(split_command): return ' '.join(shlex.quote(arg) for arg in split
## IMPORT VERSION STRINGS
from .version import ALIENPY_VERSION_HASH, ALIENPY_VERSION_DATE, ALIENPY_VERSION_STR

## IMPORT DATA STRUCTURES
from .data_structs import RET

## IMPORT GLOBAL VARIABLES
from .global_vars import * # nosec PYL-W0614

Expand Down
3 changes: 1 addition & 2 deletions alienpy/wb_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,12 @@
from websockets import WebSocketClientProtocol

from .data_structs import RET
from .global_vars import ALIENPY_GLOBAL_WB, AlienSessionInfo, DEBUG, DEBUG_FILE, DEBUG_TIMING, TIME_CONNECT, TMPDIR
from .global_vars import ALIENPY_GLOBAL_WB, AlienSessionInfo, DEBUG, DEBUG_FILE, DEBUG_TIMING, TIME_CONNECT, TMPDIR, get_certs_names
from .setup_logging import print_err, print_out
from .async_tools import syncify
from .wb_async import IsWbConnected, wb_close, wb_create, wb_sendmsg, wb_sendmsg_multi
from .tools_nowb import CreateJsonCommand, PrintDict, deltat_ms_perf, deltat_us_perf, isReachable, is_help, is_my_pid, path_readable, read_conf_file, writePidFile
from .tools_stackcmd import push2stack # , deque_pop_pos
from .connect_ssl import get_certs_names


def wb_create_tryout(host: str, port: Union[str, int], path: str = '/', use_usercert: bool = False, localConnect: bool = False) -> WebSocketClientProtocol:
Expand Down

0 comments on commit 7683732

Please sign in to comment.