Skip to content

Commit

Permalink
fix: wrong type annotation for some optional filter fields
Browse files Browse the repository at this point in the history
  • Loading branch information
waza-ari committed Aug 19, 2024
1 parent 4751afa commit 64c1d76
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions easyverein/models/invoice.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,15 +106,15 @@ class InvoiceFilter(BaseModel):

id__in: FilterIntList | None = None
relatedAddress: int | None = None
relatedAddress__isnull: bool = None
relatedAddress__isnull: bool | None = None
relatedBookings: FilterIntList | None = None
relatedBookings__isnull: bool = None
relatedBookings__isnull: bool | None = None
relatedBookings__ne: FilterIntList | None = None
payedFromUser: int | None = None
payedFromUser__isnull: bool = None
payedFromUser__isnull: bool | None = None
approvedFromAdmin: int | None = None
approvedFromAdmin__isnull: bool = None
canceledInvoice__isnull: bool = None
approvedFromAdmin__isnull: bool | None = None
canceledInvoice__isnull: bool | None = None
date: Date | None = None
date__gt: Date | None = None
date__lt: Date | None = None
Expand Down

0 comments on commit 64c1d76

Please sign in to comment.