cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <>
Subject Re: cassdict
Date Fri, 09 Oct 2009 17:25:28 GMT
One suggestion -- consider subclassing DictMixin, instead of dict
itself.  DictMixin is designed for creating things that have a
dict-like api, but aren't actually dicts, whereas dict itself
obviously isn't. :)  Tends to work out cleaner in my experience.

Just my two cents,


On Fri, Oct 9, 2009 at 12:10 PM, Ben Eliott
<> wrote:
> Just a note to inform the list of a python module for cassandra:
> For better or worse Cassdict attempts to emulate a standard python
> dictionary as an interface to the python thrift api.
> It simplifies thing as far as it goes. Inevitably there's no getting away
> from thrift api in the end. But I hope it can be handy in some respects.
> Additionally there are a couple of mixins to make the thrift objects more
> manageable.
> Thanks to Ian Eure @ Digg for his advices in progressing this module.
> Ben

View raw message