def __init__(self, host=_default_host, username=_default_user, passwd=_default_pass, port=_default_port, dbname=_default_db, *args, **kwargs): self.__host = host self.__port = port self.__username = username self.__passwd = passwd self.__dbname = dbname DBStorage.__init__(self, *args, **kwargs)
def __init__(self, path, *args, **kwargs): self.path = path DBStorage.__init__(self, *args, **kwargs)