Skip to content

Commit 645b677

Browse files
fix: Types to use Option[T] (#514)
1 parent a67885f commit 645b677

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

postgrest/base_request_builder.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ def ilike(self: Self, column: str, pattern: str) -> Self:
405405
"""
406406
return self.filter(column, Filters.ILIKE, pattern)
407407

408-
def or_(self: Self, filters: str, reference_table: Union[str, None] = None) -> Self:
408+
def or_(self: Self, filters: str, reference_table: Optional[str] = None) -> Self:
409409
"""An 'or' filter
410410
411411
Args:

0 commit comments

Comments
 (0)