We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7134740 commit 70b23e5Copy full SHA for 70b23e5
lisa/schema.py
@@ -891,7 +891,8 @@ class VirtualizationSettings(FeatureSettings):
891
)
892
893
def __eq__(self, o: object) -> bool:
894
- assert isinstance(o, VirtualizationSettings), f"actual: {type(o)}"
+ if not isinstance(o, VirtualizationSettings):
895
+ return False
896
return super().__eq__(o) and self.host_type == o.host_type
897
898
def __hash__(self) -> int:
0 commit comments