Did I find the right examples for you? yes no

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/t/u/tuskar-0.4.1/tuskar/api/controllers/v1/overcloud_roles.py   tuskar(Download)
        """
        LOG.debug('Retrieving all overcloud roles')
        db_roles = pecan.request.dbapi.get_overcloud_roles()
        transfer_roles = [models.OvercloudRole.from_db_model(c)
                          for c in db_roles]

src/t/u/tuskar-0.4.1/tuskar/api/controllers/v1/overcloud.py   tuskar(Download)
def get_overcloud_roles_dict():
    return dict((overcloud_role.id, overcloud_role)
                for overcloud_role in
                pecan.request.dbapi.get_overcloud_roles())