Skip to content

Commit

Permalink
chore: eq for Schema
Browse files Browse the repository at this point in the history
  • Loading branch information
molozey authored and molozey committed Dec 5, 2024
1 parent b79519d commit 186a2e5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions litestar/openapi/spec/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -658,6 +658,9 @@ def field_aliases(cls) -> dict[str, str]:
cls._field_aliases = retval # type: ignore[attr-defined]
return retval

def __eq__(self, other: "Schema"):
return super().__eq__(other)


@dataclass
class SchemaDataContainer(Schema):
Expand Down

0 comments on commit 186a2e5

Please sign in to comment.