MCPcopy Index your code
hub / github.com/pymupdf/PyMuPDF / _getMetadata

Method _getMetadata

src/__init__.py:3890–3896  ·  view source on GitHub ↗

Get metadata.

(self, key)

Source from the content-addressed store, hash-verified

3888 return rc
3889
3890 def _getMetadata(self, key):
3891 """Get metadata."""
3892 try:
3893 return mupdf.fz_lookup_metadata2( self.this, key)
3894 except Exception:
3895 if g_exceptions_verbose > 2: exception_info()
3896 return ''
3897
3898 def _getOLRootNumber(self):
3899 """Get xref of Outline Root, create it if missing."""

Callers 1

init_docMethod · 0.95

Calls 1

exception_infoFunction · 0.85

Tested by

no test coverage detected