We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfe56b3 commit 5ee0446Copy full SHA for 5ee0446
src/openfoodfacts/taxonomy.py
@@ -395,7 +395,9 @@ def from_url(
395
return cls.from_dict(data)
396
397
@classmethod
398
- def from_type(cls, taxonomy_type: TaxonomyType, flavor: Flavor = Flavor.off) -> "Taxonomy":
+ def from_type(
399
+ cls, taxonomy_type: TaxonomyType, flavor: Flavor = Flavor.off
400
+ ) -> "Taxonomy":
401
"""Create a Taxonomy from a taxonomy file hosted online from a
402
taxonomy type.
403
0 commit comments