From 04778a42f7b371ed940301b9c4fb34d195f07c34 Mon Sep 17 00:00:00 2001 From: Chris Cummins Date: Thu, 3 Mar 2022 10:33:21 +0000 Subject: [PATCH] Clarify docstring. --- compiler_gym/service/connection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler_gym/service/connection.py b/compiler_gym/service/connection.py index 8b7181dab4..d3ee8628a3 100644 --- a/compiler_gym/service/connection.py +++ b/compiler_gym/service/connection.py @@ -55,7 +55,7 @@ class HashableBaseModel(BaseModel): - """A pydantic model that is hashable.""" + """A pydantic model that is hashable. Requires that all fields are hashable.""" def __hash__(self): return hash((type(self),) + tuple(self.__dict__.values()))