swh.journal.writer package

Module contents

class swh.journal.writer.ValueProtocol(*args, **kwds)[source]

Bases: typing_extensions.Protocol

anonymize() → Optional[TSelf][source]
unique_key() → Union[Dict[str, str], Dict[str, bytes], bytes][source]
to_dict() → Dict[str, Any][source]
swh.journal.writer.model_object_dict_sanitizer(object_type: str, object_dict: Dict[str, Any]) → Dict[str, str][source]
swh.journal.writer.get_journal_writer(cls, **kwargs)[source]