Skip to content

Commit

Permalink
Add open, close timestamp to product schema
Browse files Browse the repository at this point in the history
  • Loading branch information
U-lis committed Dec 6, 2024
1 parent 67d1365 commit 5926b56
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions iap/schemas/product.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from datetime import datetime
from typing import Optional, List

from pydantic import BaseModel as BaseSchema, model_validator
Expand Down Expand Up @@ -64,6 +65,8 @@ class ProductSchema(SimpleProductSchema):
path: str
bg_path: Optional[str] = None
popup_path_key: Optional[str] = None
open_timestamp: Optional[datetime] = None
close_timestamp: Optional[datetime] = None

fav_list: List[FungibleAssetValueSchema]
fungible_item_list: List[FungibleItemSchema]
Expand Down

0 comments on commit 5926b56

Please sign in to comment.