'Returns a dict describing specific flavor_id.'

@staticmethod
@require_context
def _flavor_get_by_flavor_id_from_db(context, flavor_id):

    result = Flavor._flavor_get_query_from_db(context).filter_by(flavorid=flavor_id).order_by(asc(api_models.Flavors.id)).first()
    if (not result):
        raise exception.FlavorNotFound(flavor_id=flavor_id)
    return db_api._dict_with_extra_specs(result)
