
Mound the flour on a clean work surface, make a well in the center, and crack the eggs into it. Beat the eggs with a fork while gradually drawing in the flour, then knead the dough for 8–10 minutes until smooth, elastic, and no longer sticky to the touch.
Wrap the pasta dough tightly and let it rest at room temperature for 30 minutes while preparing the filling. Heat one tablespoon of olive oil in a wide pan, add the chopped shallot, and cook gently for 2–3 minutes until softened and fragrant without browning.
Add 250 g of the chopped mushrooms, the minced garlic, and thyme to the pan, reserving the remaining mushrooms for the sauce. Cook over medium-high heat until all released moisture evaporates, then season with salt and pepper and let the mixture cool.
Combine the cooled mushroom mixture with the ricotta and half of the Parmesan in a bowl, mixing until the filling holds together. Taste and adjust the seasoning, then refrigerate briefly so the mixture becomes easier to spoon into the pasta without spreading.
Divide the rested dough into manageable pieces and roll each one into very thin, even sheets with a pasta machine or rolling pin. Keep unused dough covered, place small teaspoons of filling in spaced rows, and lightly moisten the pasta around each mound.
Lay another pasta sheet over the filling, press out trapped air around each mound, and seal the edges firmly with your fingertips. Cut into individual ravioli with a pastry wheel, then arrange them on a lightly floured tray without letting the pieces touch.
Bring a large pot of salted water to a gentle boil while making the sauce. Melt the butter with the remaining olive oil in a skillet, cook the reserved mushrooms until golden, then pour in the cream and simmer gently for 3–4 minutes until slightly thickened.
Cook the ravioli in the simmering water for 3–5 minutes, until the pasta is tender and the filling is heated through. Lift them out with a slotted spoon, transfer directly to the sauce, and toss gently with a splash of pasta water and the remaining Parmesan.
Warm the coated ravioli for another 30 seconds over low heat, moving the pan rather than stirring aggressively to avoid tearing the pasta. Divide among warm plates and spoon the remaining creamy mushroom sauce over each serving before bringing it to the table.





