cement.ext.ext_print
Cement print extension module.
- class cement.ext.ext_print.PrintDictOutputHandler(**kw: Any)[source]
Bases:
OutputHandler
This class implements the Output Handler interface. It is intended primarily for development where printing out a string reprisentation of the data dictionary would be useful. Please see the developer documentation on Output Handling.
- class cement.ext.ext_print.PrintOutputHandler(**kw: Any)[source]
Bases:
OutputHandler
This class implements the Output Handler interface. It takes a dict and only prints out the
out
key. It is primarily used by theapp.print()
extended function in order to replaceprint()
so that framework features likepre_render
andpost_render
hooks are honored. Please see the developer documentation on Output Handling.