Skip to content

Commit f412b3b

Browse files
committed
Updating return type in questions crud
1 parent 8996348 commit f412b3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

question-service/app/crud/questions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def get_question_complexities() -> List[ComplexityEnum]:
109109
'''
110110
This section comprises of helper functions.
111111
'''
112-
def _parse_oid(oid: str):
112+
def _parse_oid(oid: str) -> ObjectId:
113113
try:
114114
return ObjectId(oid)
115115
except InvalidId:

0 commit comments

Comments
 (0)