def initialize(self): self.debug("Initializing SQL Data Source") self._connection.open(self._connectionInfo) self.debug("Opened an SQL connection to %s", database.filter_uri(self._connectionInfo)) return defer.succeed(None)
def __init__(self, parentStore, data, adminStore, custStore, profStore, targStore): label = "SQL Notification to %s" % database.filter_uri(data.databaseURI) NotificationStore.__init__(self, parentStore, data, adminStore, custStore, profStore, targStore, label=label)