File size: 528 Bytes
c30b4ba
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
from dataclasses import dataclass
from typing import List

@dataclass
class Recipe:
    RecipeId: int
    Name: str
    RecipeCategory: str
    RecipeIngredientParts: List[str]
    Keywords: List[str]
    keywords_name: List[str]  # Add this line
    Calories: float
    TotalTime_minutes: int
    AggregatedRating: float
    ReviewCount: int
    Description: str
    RecipeIngredientQuantities: List[str]
    RecipeInstructions: List[str]
    Images: List[str]
    Similarity: float  # Add this line if it's not already present