ask/redish

"Sub-keyspaces" - is there a way to do this?

aphexcx opened this issue · 0 comments

Is there a way to 'nest' keyspaces? As in, get direct access to a subparameter space in a multi-parameter keyspace? Here's what I'm trying to do, which doesn't work. (Perhaps there is a way to do this and I'm just using the wrong syntax or concepts.)

r = proxy.Proxy()

qdb = r.keyspace('quote:%s:%d')

goomba = qdb.keyspace('goomba')

goomba[1]
# should access r['quote:goomba:1]