def __init__(self, app=None, url='/hooks'):
        self._hooks = {}
        if app is not None:
            self.init_app(app, url=url)
Initialize the extension.
dataset/ETHPy150Open nickfrostatx/flask-hookserver/flask_hookserver.py/Hooks.__init__