def init_htmlbuilder(app):
    @app.before_request
    def before_request():
        g.blocks = {}
        g.attrs = {}
Actions after deleting a case event:
dataset/ETHPy150Open quokkaproject/flask-htmlbuilder/flaskext/htmlbuilder.py/init_htmlbuilder--crossover with--dataset/ETHPy150Open sahana/eden/modules/s3db/dvr.py/DVRCaseEventModel.case_event_ondelete