Skip to content

Commit

Permalink
chore: Add website and header image fields to CleanData model
Browse files Browse the repository at this point in the history
  • Loading branch information
Rohit04121998 committed Aug 27, 2024
1 parent 56af9e6 commit 2fe4a65
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions steam_sales/steam_etl/validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,8 @@ class Clean(BaseModel):
publisher: str = Field(..., description="Publisher of the game")
price: float = Field(..., description="Current price of the game")
description: str = Field(..., description="Description of the game")
website: Optional[HttpUrl | str] = Field(..., description="Official website of the game")
header_image: HttpUrl = Field(..., description="URL to the header image of the game")
year: Optional[int] = Field(None, description="Year of the game release")
month: Optional[int] = Field(None, description="Month of the game release")
day: Optional[int] = Field(None, description="Day of the game release")
Expand Down

0 comments on commit 2fe4a65

Please sign in to comment.