[openstack-dev] [oslo] support keymirror/valuemirror dict in olso

Husheng (TommyLike, R&D IT&Tools Equipment Dept) hu.husheng at huawei.com
Tue Aug 23 03:15:19 UTC 2016


Hi all,
      I have an idea about adding common function which creating an dictionary with key equal to its values in OSLO. This is inspired by Key mirror in node js(https://www.npmjs.com/package/keymirror).This is very useful when we create dictionary like below:
search_opts = {
        'all_tenants': all_tenants,
        'status': args.status,
        'filter':filter,
             .......
}
What's your opinion on this, is this reasonable ,necessary and reachable?

Thanks
TommyLike.Hu


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160823/7d2f8c49/attachment.html>


More information about the OpenStack-dev mailing list