feat: add support for bool type

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

No files matched your search

+1
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)