'Returns a dict describing specific flavor.'

@staticmethod
@require_context
def _flavor_get_from_db(context, id):

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