Note: This content was generated by AI. I am working on this page to provide personal content of better quality.
Template Method
Nota bene : This content was generated by AI. I am working on this page to provide personal content of better quality.
Define an algorithm skeleton and let subclasses override steps.
Intent
Factor a common workflow and specialize hooks.
Python example
Chargement…
Console output
Open report.pdf Extract PDF bytes Parse pdf-bytes Close report.pdf pdf-bytes
When to use
Same workflow with subtype-specific steps.