Skip to content

Commit

Permalink
fix: Move the named_pipe_helper.py under the folder `adaptor_runtim…
Browse files Browse the repository at this point in the history
…e_client`

Signed-off-by: Hongli Chen <[email protected]>
  • Loading branch information
Honglichenn committed Mar 19, 2024
1 parent 3e0f8e2 commit 4affe2e
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/openjd/adaptor_runtime/_background/backend_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
if OSName.is_posix():
from .http_server import BackgroundHTTPServer
if OSName.is_windows():
from openjd.adaptor_runtime_client.named_pipe.named_pipe_helper import NamedPipeHelper
from ...adaptor_runtime_client.named_pipe.named_pipe_helper import NamedPipeHelper
from .backend_named_pipe_server import WinBackgroundNamedPipeServer
from .log_buffers import LogBuffer
from .model import ConnectionSettings
Expand Down
2 changes: 1 addition & 1 deletion src/openjd/adaptor_runtime/_background/frontend_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
)

if OSName.is_windows():
from openjd.adaptor_runtime_client.named_pipe.named_pipe_helper import NamedPipeHelper
from ...adaptor_runtime_client.named_pipe.named_pipe_helper import NamedPipeHelper
import pywintypes

_logger = logging.getLogger(__name__)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
if TYPE_CHECKING: # pragma: no cover because pytest will think we should test for this.
from openjd.adaptor_runtime._named_pipe import NamedPipeServer

from openjd.adaptor_runtime_client.named_pipe.named_pipe_helper import (
from ...adaptor_runtime_client.named_pipe.named_pipe_helper import (
NamedPipeHelper,
PipeDisconnectedException,
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
)
from typing import TYPE_CHECKING

from openjd.adaptor_runtime_client.named_pipe.named_pipe_helper import (
from ...adaptor_runtime_client.named_pipe.named_pipe_helper import (
NamedPipeHelper,
NamedPipeTimeoutError,
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

from ._named_pipe_request_handler import WinAdaptorServerResourceRequestHandler
from .._named_pipe import ResourceRequestHandler
from openjd.adaptor_runtime_client.named_pipe.named_pipe_helper import NamedPipeHelper
from ...adaptor_runtime_client.named_pipe.named_pipe_helper import NamedPipeHelper
from .._named_pipe.named_pipe_server import NamedPipeServer


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
import os


from openjd.adaptor_runtime_client.named_pipe.named_pipe_config import (
from .named_pipe_config import (
NAMED_PIPE_BUFFER_SIZE,
DEFAULT_MAX_NAMED_PIPE_INSTANCES,
)
Expand Down
2 changes: 1 addition & 1 deletion src/openjd/adaptor_runtime_client/win_client_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

from .base_client_interface import BaseClientInterface

from openjd.adaptor_runtime_client.named_pipe.named_pipe_helper import NamedPipeHelper
from .named_pipe.named_pipe_helper import NamedPipeHelper

_DEFAULT_TIMEOUT_IN_SECONDS = 15

Expand Down

0 comments on commit 4affe2e

Please sign in to comment.