Exemple #1
0
    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()
Exemple #2
0
 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()
Exemple #3
0
 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()