Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions robosystems_client/clients/ledger_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -3029,8 +3029,10 @@ def update_event_handler(
graph_id: str,
body: dict[str, Any],
) -> EventHandlerResponse:
"""Update a registered event handler. Pass ``approve=True`` in the body
to flip an AI-suggested handler from unapproved to active.
"""Update a registered event handler. Pass ``approve=True`` with
``expected_updated_at`` (the handler's ``updated_at`` as the person saw it)
to flip an AI-suggested handler from unapproved to active; the API answers
409 if it changed since.
"""
request = UpdateEventHandlerRequest.from_dict(body)
response = op_update_event_handler(
Expand Down
Loading