We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77581bf commit 04778a4Copy full SHA for 04778a4
compiler_gym/service/connection.py
@@ -55,7 +55,7 @@
55
56
57
class HashableBaseModel(BaseModel):
58
- """A pydantic model that is hashable."""
+ """A pydantic model that is hashable. Requires that all fields are hashable."""
59
60
def __hash__(self):
61
return hash((type(self),) + tuple(self.__dict__.values()))
0 commit comments