(features)
return res
Unmarshal a dict of features for suitable output.
Unmarshal a dict of features for suitable output.
Unmarshal a dict of features for suitable output .
def unmarshal_features(features):
    """Unmarshal a dict of features for suitable output."""
    res = {}
    for name, value in features.items():
        try:
            new_value = unmarshal_feature(name, value)
            res[name] = new_value
        except ValueError:
            log.warn('Feature {} with {} do not marshall'.format(name, value))
            pass
    return res
def unmarshal_features ( features ) : res = { } for name , value in features . items ( ) : try : new_value = unmarshal_feature ( name , value ) res [ name ] = new_value except ValueError : log . warn ( 'Feature {} with {} do not marshall' . format ( name , value ) ) pass return res