Skip to content

Commit 285dc58

Browse files
committed
Name the reviewed version in the approval docs
1 parent bdeebb2 commit 285dc58

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)