swh.journal.writer.inmemory module

class swh.journal.writer.inmemory.InMemoryJournalWriter(value_sanitizer: Any)[source]

Bases: Generic[swh.journal.writer.inmemory.TValue]

objects: List[Tuple[str, TValue]]
privileged_objects: List[Tuple[str, TValue]]
write_addition(object_type: str, object_: TValue, privileged: bool = False) → None[source]
write_update(object_type: str, object_: TValue, privileged: bool = False) → None
write_additions(object_type: str, objects: List[TValue], privileged: bool = False) → None[source]