Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
Fatal1ty committed Nov 14, 2023
1 parent 3207d29 commit 6cbc63c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions tests/test_forward_refs/test_generic_serializable_type.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ def _serialize(self) -> Dict[str, T]:
def __eq__(self, other: Foo) -> bool:
return self.a == other.a

def __repr__(self):
return f"Foo(a={self.a})"


@dataclass
class Bar(DataClassDictMixin):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ def __init__(self, a: T) -> None:
def __eq__(self, other: Foo) -> bool:
return self.a == other.a

def __repr__(self):
return f"Foo(a={self.a})"


class FooStrategy(Generic[T], SerializationStrategy):
def deserialize(self, value: Dict[str, T]) -> Foo[T]:
Expand Down

0 comments on commit 6cbc63c

Please sign in to comment.