You'll hear gnocchi referred to as a pasta, but it's both a potato and a pasta, as it contains both mashed potato and flour.