timkolloch / tandoor_importer

A program to import food nutrients to a Tandoor instance
MIT License
1 stars 0 forks source link

Implemented override mode #27

Closed timkolloch closed 1 month ago

timkolloch commented 1 month ago

Closes #9.

Breaking change as the program does not override data by default anymore. If nothing is specified only properties that are not already present will be added. When a food item already has all properties defined in Tandoor it will be skipped immediately and no data will be requested from the FDC database. If all properties should be updated start the program with --override enabled.