Using a blender/Food processor: Add the sweet potato and pumpkin in a blender/food processor and blend for 1-2 minutes, until mashed. Add the rest of the ingredients and pulse to desired consistency (varies by brand).
By hand: Using a potato masher, mash the pumpkin and sweet potato very well. Add the rest of the ingredients and mix very well until fully incorporated. (The consistency using this method is much thicker).
If you use a larger sweet potato or added pumpkin, add extra olive oil to reach desired consistency.