Skip to content

Commit

Permalink
Update src/zarr/v3/store/local.py
Browse files Browse the repository at this point in the history
Changed 'LocalStore' to object in __eq__

Co-authored-by: Davis Bennett <[email protected]>
  • Loading branch information
Charoula-Kyriakides and d-v-b authored Apr 18, 2024
1 parent 932329f commit a79b2c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zarr/v3/store/local.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def __str__(self) -> str:
def __repr__(self) -> str:
return f"LocalStore({repr(str(self))})"

def __eq__(self, other: 'LocalStore') -> bool:
def __eq__(self, other: object) -> bool:
return isinstance(other, type(self)) and self.root == other.root

async def get(
Expand Down

0 comments on commit a79b2c9

Please sign in to comment.