Skip to content

Commit 05ed153

Browse files
authored
Submodule change (#51)
1 parent 737842b commit 05ed153

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

controller/comment/manager.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from typing import Any, Dict, List, Optional, Union
22
from submodules.model import enums
3-
from submodules.model.models import Comment, User
3+
from submodules.model.models import CommentData, User
44

55
from submodules.model.business_objects import comments
66

@@ -44,7 +44,7 @@ def create_comment(
4444
user_id: str,
4545
project_id: Optional[str] = None,
4646
is_private: Optional[bool] = None,
47-
) -> Comment:
47+
) -> CommentData:
4848
try:
4949
xftype = enums.CommentCategory[xftype.upper()].value
5050
except KeyError:
@@ -67,7 +67,7 @@ def update_comment(
6767
comment_id: str,
6868
user: User,
6969
changes: Dict[str, Any],
70-
) -> Comment:
70+
) -> CommentData:
7171
item = comments.get(comment_id)
7272

7373
if not item:

submodules/model

0 commit comments

Comments
 (0)