<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi.<div class=""><br class=""></div><div class="">Why we filter out some fields from keeper object in "create" and "list" operations?</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">in module nova.api.openstack.compute.plugins.v3.keypairs</div><div class=""><br class=""><font face="Menlo" class="">class KeypairController(wsgi.Controller):<br class=""># ...<br class=""><br class="">    def _filter_keypair(self, keypair, **attrs):<br class="">        clean = {<br class="">            'name': keypair.name,<br class="">            'public_key': keypair.public_key,<br class="">            'fingerprint': keypair.fingerprint,<br class="">            }<br class="">        for attr in attrs:<br class="">            clean[attr] = keypair[attr]<br class="">        return clean</font></div><div class=""><font face="Menlo" class=""><br class=""></font></div><div class="">we have method _filter_kaypar. This method used to create response in "create" and "index" methods. Why we need it?</div><div class=""><br class=""></div><div class="">PS I need user_id field in "list/index" request in horizon. The only way to got it now - use "get/show" method for each returned object.</div></body></html>