Preheat air fryer to 400F. If you're using your oven the preheat oven to 425F.
Peel sweet potato, then chop into smaller pieces. Boil sweet potato until very tender. Drain water.
Add sweet potato and cassava flour to food processor and blend until everything is completely smooth. You can also mash the sweet potato and combine with flour by hand in a bowl.
On a floured surface, separate dough ball into four balls and roll out each ball into sausage like tubes. Cut the tubes of dough into 2cm pieces and press into the gnocchi pieces with back of a fork to make an indent.
Bring a large pot of water to boil and boil the gnocchi until they float to the top (approx 1 minute).
Remove from water using a slotted spoon and put in air fryer basket in a single layer. Drizzle with olive oil and fry for 10-12 minutes, then flip and fry for another 5-6 minutes. If baking in oven, add to baking sheet and bake for 30 minutes, flipping half way through until golden brown.
Toss in favorite sauce and devour!