MCPcopy Create free account
hub / github.com/pymupdf/PyMuPDF / refresh

Method refresh

src/__init__.py:12810–12816  ·  view source on GitHub ↗

Refresh page after link/annot/widget updates.

(self)

Source from the content-addressed store, hash-verified

12808 return TOOLS._get_all_contents(self)
12809
12810 def refresh(self):
12811 """Refresh page after link/annot/widget updates."""
12812 CheckParent(self)
12813 doc = self.parent
12814 page = doc.reload_page(self)
12815 # fixme this looks wrong.
12816 self.this = page
12817
12818 def replace_image(
12819 page: 'Page',

Callers

nothing calls this directly

Calls 2

CheckParentFunction · 0.85
reload_pageMethod · 0.80

Tested by

no test coverage detected