Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions sqlspec/utils/serializers/_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,11 @@ def __len__(self) -> int:
def __ne__(self, other: object) -> bool:
return not self == other

def __or__(self, other: "dict[Any, Any]", /) -> "dict[Any, Any]":
def __or__(self, other: Any, /) -> Any:
self._ensure_loaded()
return super().__or__(other)

def __ror__(self, other: "dict[Any, Any]", /) -> "dict[Any, Any]":
def __ror__(self, other: Any, /) -> Any:
self._ensure_loaded()
return super().__ror__(other)

Expand All @@ -114,7 +114,7 @@ def __setitem__(self, key: type, value: "Callable[[Any], Any]") -> None:
self._ensure_loaded()
super().__setitem__(key, value)

def __ior__(self, other: Any) -> "Self": # type: ignore[misc,override]
def __ior__(self, other: Any) -> "Self": # type: ignore[override]
self._ensure_loaded()
super().__ior__(other)
return self
Expand Down
Loading