title: Cassandra pagination: How to use get_slice to query a Cassandra 1.2 database from Python using the cql library
body: <p>I have a Cassandra 1.2 cluster and I'm using it from Python using the cql library. Now I need to implement some paging functionality that seems pretty straightforward using get_slice, but I can't find any documentation on how to use something like this from the cql library:</p>
  
  <pre><code>get_slice("key" : table_key,
        "column_parent" : {"column_family" : "MyColumnFamily"},
        "predicate" :
         { "slice_range" : 
   { "start" : "SomeStartID", 
   "end" : "Z", 
   "reverse" : "false", 
   "count : "100" }
   } )
  </code></pre>
  
  <p>I've seen this type of syntax on random documentation for get_slice, and it doesn't look like CQL 3 syntax, how can I run this type of queries from Python to a Cassandra 1.2 cluster?, Is this the current way of using get_slice or there is a new syntax or CQL 3 alternative?</p>
  
  <p>Thanks in advance!</p>