Skip to content

Commit

Permalink
Allow get_count of subcolumns
Browse files Browse the repository at this point in the history
  • Loading branch information
driftx committed Apr 28, 2010
1 parent cf1b359 commit 49501a7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions telephus/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ def multiget_slice(self, keys, columnParent, names=None, start='', finish='',
pred, consistency)
return self.manager.pushRequest(req, retries=retries)

def get_count(self, key, columnParent, consistency=None, retries=None):
cp = self._getparent(columnParent)
def get_count(self, key, columnParent, super_column=None, consistency=None, retries=None):
cp = self._getparent(columnParent, super_column)
consistency = consistency or self.consistency
req = ManagedThriftRequest('get_count', self.keyspace, key, cp,
consistency)
Expand Down Expand Up @@ -189,4 +189,4 @@ def get_string_list_property(self, name, retries=None):

def describe_keyspace(self, keyspace, retries=None):
req = ManagedThriftRequest('describe_keyspace', keyspace)
return self.manager.pushRequest(req, retries=retries)
return self.manager.pushRequest(req, retries=retries)

0 comments on commit 49501a7

Please sign in to comment.