def __init__(self, database, **kwargs): self.upload_hour = 3 self.database = database.lower() if 'database' in kwargs: kwargs['database'] = self.database self.rethink_io = rethink_io() self.rethink_host, self.auth_key = self.rethink_io.assign_rethink(**kwargs) self.rethink_io.connect_rethink(self.database, self.rethink_host, self.auth_key) self.rethink_interact = rethink_interact()
def __init__(self, **kwargs): self.rethink_io = rethink_io() self.rethink_host, self.auth_key = self.rethink_io.assign_rethink( **kwargs) self.rethink_interact = rethink_interact()
def __init__(self, **kwargs): self.rethink_io = rethink_io() self.rethink_host, self.auth_key = self.rethink_io.assign_rethink(**kwargs) self.rethink_interact = rethink_interact()