Skip to content

Commit

Permalink
Rollback __hash__ for Device
Browse files Browse the repository at this point in the history
  • Loading branch information
jsouter committed Oct 22, 2024
1 parent 2b20371 commit cdcd6d1
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/ophyd_async/core/_device.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,6 @@ async def connect(
# Wait for it to complete
await self._connect_task

def __hash__(self):
# to allow Devices to be used as dict keys
return hash(id(self))


DeviceT = TypeVar("DeviceT", bound=Device)

Expand Down

0 comments on commit cdcd6d1

Please sign in to comment.