Lee-W commented on code in PR #71465:
URL: https://github.com/apache/airflow/pull/71465#discussion_r3764971732
##########
providers/anthropic/tests/unit/anthropic/hooks/test_anthropic.py:
##########
@@ -266,6 +268,42 @@ def test_rejects_bad_amounts(self, amount, match):
build_budget(amount)
+def _bad_request(message="cannot be archived while its status is running"):
Review Comment:
```suggestion
def _make_bad_request(message="cannot be archived while its status is
running") -> BadRequestError:
```
##########
providers/anthropic/src/airflow/providers/anthropic/hooks/anthropic.py:
##########
@@ -694,15 +695,58 @@ def send_event(self, session_id: str, event: dict[str,
Any]) -> Any:
session_id, events=cast("list[BetaManagedAgentsEventParams]",
[event])
)
- def archive_session(self, session_id: str) -> BetaManagedAgentsSession:
+ def interrupt_session(self, session_id: str) -> Any:
Review Comment:
do we want to make it a public method?
--
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]