MCPcopy Create free account
hub / github.com/scanny/python-pptx / when_save_presentation

Function when_save_presentation

features/steps/presentation.py:112–115  ·  view source on GitHub ↗
(context: Context)

Source from the content-addressed store, hash-verified

110
111@when("I save the presentation")
112def when_save_presentation(context: Context):
113 if os.path.isfile(saved_pptx_path):
114 os.remove(saved_pptx_path)
115 context.prs.save(saved_pptx_path)
116
117
118@when("I save the presentation to a stream")

Callers

nothing calls this directly

Calls 2

removeMethod · 0.80
saveMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…