feat: add support for bool type

This commit is contained in:
mbyzhang
2022-10-15 01:27:59 +01:00
parent 5eb663f7ae
commit e44cef3012
2 changed files with 4 additions and 1 deletions

View File

@@ -16,6 +16,7 @@ class TestClass:
byte_value: bytes = b'a'
float_value: float = 0.4
str_value: str = 'a'
bool_value: bool = True
def __eq__(self, other):
return asdict(self) == asdict(other)