Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def __init__ (self, conn, addr):
self.addr = addr
asynchat.async_chat.__init__ (self, conn)
self.set_terminator (b'\r\n')
self.buffer = ''
self.count = 0
def __init__ (self, addr, logger):
self.addr = addr
self.logger = logger
self.event_time = time.time ()
self.creation_time = time.time ()
self.closed = False
self._timeouted = False
self.requests = {}
self.callback = None
asynchat.async_chat.__init__ (self)
def __init__ (self, address, params = None, lock = None, logger = None):
dbconnect.AsynDBConnect.__init__ (self, address, params, lock, logger)
asynchat.async_chat.__init__ (self)