|
|
@ -95,9 +95,6 @@ def test_encode_dict_with_nonprimative_keys(): |
|
|
|
def __init__(self, value: str) -> None: |
|
|
|
self.value = value |
|
|
|
|
|
|
|
def __eq__(self, other) -> bool: |
|
|
|
return isinstance(other, CustomString) and self.value == other.value |
|
|
|
|
|
|
|
def __hash__(self): |
|
|
|
return hash(self.value) |
|
|
|
|
|
|
|