Skip to content

Commit

Permalink
fixed: ModuleNotFoundError: no module named
Browse files Browse the repository at this point in the history
  • Loading branch information
SeafoodKalguksu committed Dec 27, 2021
1 parent 3ac6a42 commit c79f3ef
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
6 changes: 4 additions & 2 deletions header_fields/message_id/message_id.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@

from typing import Tuple

from service_id import ServiceID
from method_id import MethodID
# from service_id import ServiceID
# from method_id import MethodID
from header_fields.message_id.service_id import ServiceID
from header_fields.message_id.method_id import MethodID


class MessageID:
Expand Down
6 changes: 3 additions & 3 deletions header_fields/request_id/request_id.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
# pylint: disable=missing-class-docstring
# pylint: disable=missing-function-docstring
from typing import Tuple
from client_id import ClientID
from session_id import SessionID
from header_fields.request_id.client_id import ClientID
from header_fields.request_id.session_id import SessionID


class RequestID:
Expand All @@ -14,5 +14,5 @@ def __init__(self) -> None:
def get_request_id(self) -> Tuple[ClientID, SessionID]:
return self.client_id, self.session_id

def set_request_id(self, request_id: Tuple(ClientID, SessionID)) -> None:
def set_request_id(self, request_id: Tuple[ClientID, SessionID]) -> None:
self.client_id, self.session_id = request_id

0 comments on commit c79f3ef

Please sign in to comment.