Skip to content

history.actions

Overview

Assemble the action-grouped history response from visible event rows.

The database decides what is visible and how events group. This module turns those rows into the published shape: an action, its events, and each event's field changes. It resolves every referenced row and every acting user in one query per model, so a page costs the same whether it carries one change or a thousand.

build_action_groups

Assemble one page of action groups.

groups are the paginated group rows and events every visible event belonging to them, already ordered.

Signature

build_action_groups(instance, groups, events)

Parameters

NameTypeRequiredDescription
instanceyes
groupsyes
eventsyes

Source

server/vueda/history/actions.py:106

Source

server/vueda/history/actions.py

Documents matching: server v3.0.0a1.post1client v3.0.0-alpha.2