Skip to content

concat

concat ¤

Concatenate multiple :class:EventLog instances into one.

concat ¤

concat(*logs: EventLog) -> EventLog

Concatenate several event logs into one.

Each table is concatenated, then deduplicated: objects by (oid, type), events by event id (after sorting by timestamp), relations by (eid, oid, type), object-to-object links by (oid, oid2, qualifier), and object changes by (oid, field, timestamp).

Parameters:

Name Type Description Default
*logs EventLog

Event logs to combine.

()

Returns:

Type Description
EventLog

A new EventLog; an empty EventLog when no logs are given.