Statistics
| Branch: | Tag: | Revision:

root / snf-common / synnefo / util / keypath.py @ d2cfb7a1

History | View | Annotate | Download (8.6 kB)

# Date Author Comment
d2cfb7a1 02/11/2014 01:22 pm Giorgos Korfiatis

common: Do not encode key paths as string

Handle explicitly key paths as lists of keys. This allows the key
to be any python object, as is the case in python dicts.

Provide utility unpack() to convert from a string representation to
a list of keys. It assumes that a key is either a string or an integer...

1c1c2b9e 06/03/2013 04:11 pm Georgios D. Tsoukalas

common: add list index support in keypath util

b253c438 06/03/2013 11:50 am Georgios D. Tsoukalas

common: get/set/del path utility for nested dicts