Return document metadata JSON.
(self, doc_id: str)
| 218 | doc['pages'] = full['pages'] |
| 219 | |
| 220 | def get_document(self, doc_id: str) -> str: |
| 221 | """Return document metadata JSON.""" |
| 222 | return get_document(self.documents, doc_id) |
| 223 | |
| 224 | def get_document_structure(self, doc_id: str) -> str: |
| 225 | """Return document tree structure JSON (without text fields).""" |
no test coverage detected