Preheat the oven to 180 °C. Cut the pumpkin in half. No need to remove the seeds yet. Brush the cut sides with a little olive oil and season with salt and pepper.
Place the pumpkin halves cut side down on a baking tray lined with baking paper.
Prick holes in the potatoes with a skewer, wrap them in baking paper and place them on the tray too. Roast everything for 1 hour, until the pumpkin and potatoes are completely soft.
Meanwhile, finely chop the shallot and garlic.
Let the pumpkin cool slightly, then scoop the seeds out of both halves. Scrape the flesh of one half into the bowl of your stand mixer and keep the flesh of the other half aside for the sauce.
Peel the potatoes while they're still warm. Run them through the grater attachment of your KitchenAid, straight into the bowl with the pumpkin. No potato ricer needed.
Add 50 g Parmesan, the egg yolks, flour, salt, pepper and nutmeg and mix everything really well.
Dust your worktop with flour and briefly knead the potato and pumpkin mixture. Divide it into 4 equal pieces and roll them into 4 logs with a little flour.
Cut the logs into pieces. Roll each piece lightly and press the typical gnocchi pattern into it with a fork. If you have a gnocchi board, you can of course use that.
Bring a large pot of salted water to the boil.
Heat the butter and olive oil in a large casserole and fry the sage leaves until crispy. Take them out and set aside for later.
Sauté the shallot and garlic in the same fat until nicely golden.
Scrape the reserved pumpkin flesh into the pan. Add the cream and 50 g Parmesan and let it simmer gently for 2 to 3 minutes. Season with black pepper.
Cook the gnocchi in the salted water. As soon as they float to the surface, they're done.
Whisk the sauce once more with 2 tbsp of the gnocchi cooking water. Add the gnocchi and give everything a gentle stir.
Briefly toast the pine nuts in a dry pan until golden brown.
Finish with the pine nuts, Parmesan, crispy sage, chilli flakes and extra black pepper. I really love those chilli flakes!