In brief
Pumpkin puree and ready-made pastry filling can have a different composition.
Useful to know
When a recipe requires pumpkin puree, check what exactly is in the package. Pure puree and finished flavored filling are not the same. Iowa State directs to plain canned pumpkin for recipes and describes making puree and from baked to softened pumpkin. [1]
For a home option, the separated finished meat part is processed to the desired smoothness. Do not use the same added sugar by habit if the purchased product is already sweetened. Quantities must follow the specific recipe.
This question is different from choosing a whole pumpkin for baking. In puree, they have the composition and consistency because they enter the mixture for pastry, sauce or soup. The label gives information that the appearance of the smooth orange mass cannot show.
Sources
For further detail and to check the information: