output.Output — Base class for all output modules

class pycallgraph.output.Output(**kwargs)

Base class for all outputters.

done()

Called when the trace is complete and ready to be saved.

sanity_check()

Basic checks for certain libraries or external applications. Raise or warn if there is a problem.

set_config(config)

This is a quick hack to move the config variables set in Config into the output module config variables.

should_update()

Return True if the update method should be called periodically.

start()

Initialise variables after initial configuration.

update()

Called periodically during a trace, but only when should_update is set to True.

Project Versions

Previous topic

PyCallGraph — Main interface to Python Call Graph

Next topic

globbing_filter.GlobbingFilter — Class used for filtering methods

This Page