Lines Matching refs:keys
106 def from_json(json, keys=None):
112 if keys is not None and k in keys:
113 v = keys[k](v)
151 def merge_dicts(dicts, keys=None, values=None):
156 keys -- optional dictionary to provide a merge-strategy per key;
163 The default strategy is to allow merging keys if all origin dictionaries
168 ks.update(d.keys())
174 if keys is not None and k in keys:
175 result[k] = keys[k](vs)
186 def merge_objects(objects, keys=None):
190 return Object(**merge_dicts([(origin, obj.__dict__) for origin, obj in objects], keys=keys))
351 keys={
404 merge_objects(field, keys=field_keys)
411 keys={