def __init__(self, uri, credentials=None): self.uri = uri self.keyspace = KeyspaceService(self.uri, credentials) self.credentials = credentials
def __init__(self, uri, credentials=None): self.uri = uri self.credentials = credentials self._channel = grpc.insecure_channel(uri) self._keyspace_service = KeyspaceService(self.uri, self._channel, credentials)