Skip to content

Commit 04778a4

Browse files
committed
Clarify docstring.
1 parent 77581bf commit 04778a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler_gym/service/connection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555

5656

5757
class HashableBaseModel(BaseModel):
58-
"""A pydantic model that is hashable."""
58+
"""A pydantic model that is hashable. Requires that all fields are hashable."""
5959

6060
def __hash__(self):
6161
return hash((type(self),) + tuple(self.__dict__.values()))

0 commit comments

Comments
 (0)