Skip to content

Commit

Permalink
Slide methods
Browse files Browse the repository at this point in the history
  • Loading branch information
tothtamas28 committed Jul 17, 2024
1 parent 5c4250d commit 3f1bb09
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions pyk/src/pyk/kore/rpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,6 @@ def request(self, req: str, request_id: str, method_name: str) -> str:
_LOGGER.debug(f'Received response from {server_addr}: {resp}')
return resp

@abstractmethod
def _request(self, req: str) -> str: ...

@abstractmethod
def _description(self) -> str: ...

def __enter__(self) -> Transport:
return self

Expand All @@ -82,6 +76,12 @@ def __exit__(self, *args: Any) -> None:
@abstractmethod
def close(self) -> None: ...

@abstractmethod
def _request(self, req: str) -> str: ...

@abstractmethod
def _description(self) -> str: ...


class TransportType(Enum):
SINGLE_SOCKET = auto()
Expand Down

0 comments on commit 3f1bb09

Please sign in to comment.