module timelinelib.db.interface

class timelinelib.db.interface.ContainerStrategy[source]

Bases: object

__init__(container)[source]

Initialize self. See help(type(self)) for accurate signature.

register_subevent(subevent)[source]

Return the event with the latest end time.

unregister_subevent(subevent)[source]

Return the event with the latest end time.

update(subevent)[source]

Update container properties when adding a new sub-event.

allow_ends_today_on_subevents()[source]

Allow to set the ends-today attribute on container subevents