Start by making your pastry. In the bowl of a food processor, combine the flour, butter and salt and pulse until the mixture resembles fine crumbs. Add the sour cream and egg and pulse a few more times until the pastry comes together in a ball. Shape this into a disc, wrap in plastic wrap and chill for at least 1 hour in the fridge.
Preheat the oven to 180°C (350°F).
Remove the pastry from the fridge, dust with flour and roll out to a 2-3 mm thickness. Try to keep as round as possible. Gently lift this into the base of a 23-25 cm pie dish or tart tin. You want to leave 1-2 cm of excess pastry hanging over the edge to allow for shrinkage as it bakes. Use scissors to trim off any wider bits. Press a sheet of baking paper on top of the pastry and fill with baking weights or uncooked rice or beans to prevent the pastry puffing up as it cooks. Place the dish on a tray and bake for 20-30 minutes.
When the crust is looking golden on the edges, remove the baking weights and continue baking for a further 15-20 minutes. If the crust looks like it’s puffing up, poke a few holes in it with a fork to allow steam to escape. When golden all over, remove from the oven and leave to cool completely. Reduce the oven temperature to 160°C (320°F), ready to bake the pie.
Peel your tomatoes by cutting a small X on their base, dropping them into boiling water for 10-20 seconds, then immediately refreshing in iced water. The skin should now peel off easily, starting from the X. Cut into 5 mm (¼ in) slices. Set aside.
In a sauté pan, sauté your onions and thyme in the butter until completely soft and translucent but not coloured. Season with salt and black pepper and set aside to cool. Once cool, mix with the sour cream, cheddar, eggs, and flour. Pour the mixture into the base of the tart shell, then layer the sliced tomatoes over the top.
Finally, sprinkle with the cream and parmesan and place on a tray. Bake for 40-60 minutes, or until the tart is no longer wobbly and is completely set. If the crust is browning too much, wrap the edge in foil to allow the custard to continue cooking. Remove from the oven and serve warm or at room temperature with a leafy salad.
