Question 14
Consider the following code snippet.
@app.route('/name/<type>')def prod_detail(type): # CODE BLOCK HEREAssume the database has a "product" table represented by class "Product" which has a TEXT column "type". If we want the server to return a 404 status code when a user goes to the route '/name/<type>' with a “type” that does not exist in the database, which of the following lines would give us the desired output?