def __init__(self, *args, **kwargs): super(DatabaseWrapper, self).__init__(*args, **kwargs) self.client = client.DatabaseClient(self) try: self.ops = DatabaseOperations() except TypeError: self.ops = DatabaseOperations(self)
def __init__(self, *args, **kwargs): super(DatabaseWrapper, self).__init__(*args, **kwargs) self.client = client.DatabaseClient(self)