From cassandra-user-return-1081-apmail-incubator-cassandra-user-archive=incubator.apache.org@incubator.apache.org Sun Nov 01 22:13:00 2009 Return-Path: Delivered-To: apmail-incubator-cassandra-user-archive@minotaur.apache.org Received: (qmail 15281 invoked from network); 1 Nov 2009 22:13:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Nov 2009 22:13:00 -0000 Received: (qmail 13582 invoked by uid 500); 1 Nov 2009 22:12:59 -0000 Delivered-To: apmail-incubator-cassandra-user-archive@incubator.apache.org Received: (qmail 13556 invoked by uid 500); 1 Nov 2009 22:12:58 -0000 Mailing-List: contact cassandra-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cassandra-user@incubator.apache.org Delivered-To: mailing list cassandra-user@incubator.apache.org Received: (qmail 13547 invoked by uid 99); 1 Nov 2009 22:12:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Nov 2009 22:12:58 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of kevincastiglione@gmail.com designates 209.85.211.191 as permitted sender) Received: from [209.85.211.191] (HELO mail-yw0-f191.google.com) (209.85.211.191) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Nov 2009 22:12:51 +0000 Received: by ywh29 with SMTP id 29so4015376ywh.32 for ; Sun, 01 Nov 2009 14:12:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type; bh=IMuE10KT0yWSZgOWd7w4qygE7ZKJ5/irmkJyRVdigJE=; b=Ty6um3V8tYmdlJJss1jHrlzpQLbmD8xwRyCOOeBqN84z7ACZdCJIF8+JF/BqgBJOOw z76uea3mOoxKiivHLv0QyTaBlXyYvEsqaYbEw42q+nZ7aOsGgI60608N2VH8DudgwqrA aU19OGfv3Il883q9JnSyOzqkcHFDhTKXHjekg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=kyq7PQyE/7ikJh8CCYYxMMU+4HWKJ2IWLC7Ache2p2/ril+B3u5C/hbcueXRSlyY6B F7M1M90jYyf2owOd1g5s7sTPX0woiwmk44Iu3zdR/uf4plcS+C0akx0FzieKUu8IWkrL e/nLgX8SJNxQjsop7bSVzCmNPS7wP2OeEt9bg= MIME-Version: 1.0 Received: by 10.101.54.13 with SMTP id g13mr2588214ank.158.1257113550376; Sun, 01 Nov 2009 14:12:30 -0800 (PST) From: kevin Date: Sun, 1 Nov 2009 14:12:10 -0800 Message-ID: Subject: lazyboy: is it possible to get entire supercolumn family To: cassandra-user@incubator.apache.org Content-Type: multipart/alternative; boundary=001636ed76f69cd04b0477568e59 X-Virus-Checked: Checked by ClamAV on apache.org --001636ed76f69cd04b0477568e59 Content-Type: text/plain; charset=ISO-8859-1 is it possible to get all the super columns of a supercolumn family with lazyboy? >>> from lazyboy import * >>> from lazyboy.key import Key >>> connection.add_pool('Keyspace1', ['localhost:9160']) >>> x=Record() >>> x.load(Key('Keyspace1','Supern1', 'user_id')) Traceback (most recent call last): File "", line 1, in File "/Users/mark/work/common/lazyboy/record.py", line 140, in load dict([(obj.column.name, obj.column) for obj in _slice])) AttributeError: 'NoneType' object has no attribute 'name' --001636ed76f69cd04b0477568e59 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable is it possible to get all the=A0 super columns of a=A0 supercolumn family w= ith lazyboy?

>>> from lazyboy import *
>>> from= lazyboy.key import Key
>>> connection.add_pool('Keyspace1&= #39;, ['localhost:9160'])
>>> x=3DRecord()
>>> x.load(Key('Keyspace1',&#= 39;Supern1', 'user_id'))
Traceback (most recent call last):<= br>=A0 File "<stdin>", line 1, in <module>
=A0 Fil= e "/Users/mark/work/common/lazyboy/record.py", line 140, in load<= br> =A0=A0=A0 dict([(obj.c= olumn.name, obj.column) for obj in _slice]))
AttributeError: 'No= neType' object has no attribute 'name'

--001636ed76f69cd04b0477568e59--