Cook the cow peas till just done.
Add the pumpkin chunks along with turmeric powder and salt and cook till the pumpkin pieces are cooked through.
Meanwhile, grind the coconut along with cumin and chilli to a slightly coarse paste.
Add this to the pumpkin mixture and mix well.
Adjust the seasoning and cook till it starts to boil.
If its too watery, boil on high heat till the liquid evaporates.
Switch off heat when you achieve a thick consistency.
Heat oil in a pan. Add mustard seeds.
When they start to splutter, add the shallots, dried chilli and curry leaves.
Fry till the shallots turn slightly brown.
Pour this over the mixture.