Skip to content

Commit 2bdf891

Browse files
Clarifies type annotation for case status retrieval
Adds explicit type annotation to improve code clarity and assist with static type checking. Enhances code readability and maintainability.
1 parent 2480af4 commit 2bdf891

File tree

1 file changed

+1
-1
lines changed
  • services/web/server/src/simcore_service_webserver/fogbugz

1 file changed

+1
-1
lines changed

services/web/server/src/simcore_service_webserver/fogbugz/_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ async def get_case_status(self, case_id: str) -> str:
128128
raise ValueError(msg)
129129

130130
# Get the status from the found case
131-
status = target_case.get("sStatus", "")
131+
status: str = target_case.get("sStatus", "")
132132
if not status:
133133
msg = f"Status not found for case {case_id}"
134134
raise ValueError(msg)

0 commit comments

Comments
 (0)