Did I find the right examples for you? yes no

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)

src/w/a/watson-auth-1.2.0/watson/auth/listeners.py   watson-auth(Download)
    def __call__(self, event):
        # Initialize watson.db if it hasn't been added to the app config
        db_listener = ('watson.db.listeners.Init', 1, True)
        if db_listener not in self.app_config['events'][events.INIT]:
            listener = self.container.get('watson.db.listeners.Init')