Skip to content

Commit

Permalink
feat: add location filter on price_count (#142)
Browse files Browse the repository at this point in the history
  • Loading branch information
raphodn authored Jan 14, 2024
1 parent 817663f commit 1237687
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,9 @@ class Constants(Filter.Constants):
class LocationFilter(Filter):
osm_name__like: Optional[str] | None = None
osm_address_country__like: Optional[str] | None = None
price_count: Optional[int] | None = None
price_count__gte: Optional[int] | None = None
price_count__lte: Optional[int] | None = None

order_by: Optional[list[str]] | None = None

Expand Down

0 comments on commit 1237687

Please sign in to comment.