importer openeats basics

This commit is contained in:
vabene1111
2021-06-09 15:12:12 +02:00
parent 061aefd233
commit a0b6261275
4 changed files with 26 additions and 1 deletions

View File

@ -0,0 +1,17 @@
import re
from django.utils.translation import gettext as _
from cookbook.helper.ingredient_parser import parse, get_food, get_unit
from cookbook.integration.integration import Integration
from cookbook.models import Recipe, Step, Food, Unit, Ingredient
class OpenEats(Integration):
def get_recipe_from_file(self, file):
return None
def get_file_from_recipe(self, recipe):
raise NotImplementedError('Method not implemented in storage integration')