Lee-W commented on code in PR #71461:
URL: https://github.com/apache/airflow/pull/71461#discussion_r3774333535


##########
providers/anthropic/src/airflow/providers/anthropic/hooks/anthropic.py:
##########
@@ -587,13 +604,24 @@ def _latest_idle_reason(self, session_id: str, 
kickoff_event_id: str | None) ->
 
     def poll_session_completion(
         self, session_id: str, *, expect_outcome: bool = False, 
kickoff_event_id: str | None = None
-    ) -> tuple[bool, str | None]:
+    ) -> tuple[bool, str | None, str | None]:

Review Comment:
   > the annotation on its own does not buy the protection.
   
   yep, I don't think we need to go that far unless this actaully becomes a 
problem. I raise it because it was not easy to read back then and it's way 
better now.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to