Skip to content

Commit

Permalink
Schema: hide currency (bug)
Browse files Browse the repository at this point in the history
  • Loading branch information
raphodn committed Nov 13, 2023
1 parent fba1110 commit 4a7d16f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class PriceCreate(BaseModel):

product_code: str
price: float
currency: str = "EUR"
# currency: str = "EUR"
location_osm_id: int
location_osm_type: PriceLocationOSMType
date: date
Expand All @@ -33,4 +33,6 @@ def location_osm_id_must_be_positive(cls, v):


class PriceBase(PriceCreate):
# currency: str
# owner: str
created: datetime

0 comments on commit 4a7d16f

Please sign in to comment.