Source code for pymt.events.empty

"""An empty event.

:class:`PassEvent` implements an event-like interface but doesn't do
anything. This can be a useful event to give to an :class:`EventManager` if
you want to force the manager to stop at particular intervals.
"""


[docs]class PassEvent: """An event that doesn't do anything."""
[docs] def initialize(self): pass
[docs] def run(self, stop_time): pass
[docs] def finalize(self, stop_time): pass