Skip to content

Commit

Permalink
Update wikidata_utils.py
Browse files Browse the repository at this point in the history
  • Loading branch information
teolemon authored Jul 21, 2024
1 parent db4351b commit 6ca156a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions app/wikidata_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,14 @@ def permitted_food_additive(self):
@cached_property
def maximum_food_additive_use_level(self):
return self._client.get("P4851")
# maximum food additive use level - used as a qualifier for permitted food additive (P4850) - maximum quantity of a food additive permitted to be present in a particular food product according to the UN FAO.
# maximum food additive use level - used as a qualifier for permitted food additive (P4850) -
# maximum quantity of a food additive permitted to be present in a particular food product according to the UN FAO.

@cached_property
def gs1_country_code(self):
return self._client.get("P3067")
# GS1 Prefix - 3 digits at the start of a barcode, usually identifying the national GS1 Member Organization to which the manufacturer is registered (not necessarily where the product is actually made)
# GS1 Prefix - 3 digits at the start of a barcode, usually identifying the national GS1 Member Organization to which the manufacturer is registered
#(not necessarily where the product is actually made)

@cached_property
def gs1_company_prefix(self):
Expand Down

0 comments on commit 6ca156a

Please sign in to comment.