dizpers

Telephus + Tornado

Nov 24th, 2011
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.15 KB | None | 0 0
  1. pool = CassandraClusterPool(['localhost'],keyspace='Test',reactor=reactor)
  2. db = pool._client_instance
  3. res = db.get("key1","users")
  4. self.write(res)
Advertisement
Add Comment
Please, Sign In to add comment