Skip to content

Commit 25fd906

Browse files
authored
Name the reviewed version in the approval docs (#287)
Doc-only follow-up to #286: `update_event_handler`'s docstring now says that approving an AI-suggested handler passes `expected_updated_at` (the `updated_at` the person reviewed) and that the API answers 409 if the handler changed since. No code change; rides the next minor. TypeScript twin: RoboFinSystems/robosystems-typescript-client#306 🤖 Generated with [Claude Code](https://claude.com/claude-code)
2 parents bdeebb2 + 285dc58 commit 25fd906

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎robosystems_client/clients/ledger_client.py‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3029,8 +3029,10 @@ def update_event_handler(
30293029
graph_id: str,
30303030
body: dict[str, Any],
30313031
) -> EventHandlerResponse:
3032-
"""Update a registered event handler. Pass ``approve=True`` in the body
3033-
to flip an AI-suggested handler from unapproved to active.
3032+
"""Update a registered event handler. Pass ``approve=True`` with
3033+
``expected_updated_at`` (the handler's ``updated_at`` as the person saw it)
3034+
to flip an AI-suggested handler from unapproved to active; the API answers
3035+
409 if it changed since.
30343036
"""
30353037
request = UpdateEventHandlerRequest.from_dict(body)
30363038
response = op_update_event_handler(

0 commit comments

Comments
 (0)