compass.utilities.event_log.document_summary#

document_summary(doc)[source]#

Describe a document compactly for an event

A loading backend may convert a PDF to a single block of text and note the original format and page count in doc.attrs (doc_type, num_pages); those are used when present.