@utils.supported_filters([])
@database.run_in_session()
@user_api.check_user_permission(
    permission.PERMISSION_LIST_METADATAS
)
@utils.wrap_to_dict(RESP_METADATA_FIELDS)
def get_flavor_metadata(flavor_id, user=None, session=None, **kwargs):
    return {
        'package_config': _get_flavor_metadata(flavor_id)
    }
Get flavor metadata by flavor.
dataset/ETHPy150Open openstack/compass-core/compass/db/api/metadata_holder.py/get_flavor_metadata