Skip to content

Commit

Permalink
Drop rendundant class calls
Browse files Browse the repository at this point in the history
  • Loading branch information
Nelson-Gon committed Nov 9, 2021
1 parent 02860f6 commit a4bc8db
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pyfdc/pyfdc.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,5 +183,3 @@ def get_food_details(self, fdc_id=None, target_field=None, result_format="full",
return result[target_field]


my_search = FoodDataCentral()
my_search.get_food_details(504905, target_field="label_nutrients")

0 comments on commit a4bc8db

Please sign in to comment.