Files
chia-blockchain/chia/util
dustinfaceandGitHub 20f5bb22fb streamable: Improve dataclass_from_dict validation, add more tests (#10652)
* Improve and test `dataclass_from_dict` tuple validation

* Improve and test `dataclass_from_dict` list validation

* Introduce `convert_hex_string`

* Improve and test `dataclass_from_dict` byte type validation

* Improve and test `dataclass_from_dict` unhashable validation

* Improve and test `dataclass_from_dict` primitive validation

* Improve `dataclass_from_dict` validation

* `raise TypeError(...) from e`

* Just `raise`, don't `raise e`

* Use `repr` of `item` not `str`

* `type(item) == f_type` -> `isinstance(item, f_type)`
2022-06-14 12:40:33 -05:00
..
2021-04-04 21:41:39 -07:00
2021-09-20 11:31:15 -07:00
2021-04-04 21:41:39 -07:00
2021-11-19 11:12:58 -08:00
2022-05-24 19:01:15 -07:00
2021-07-22 09:00:36 -07:00
2021-04-26 23:21:58 -07:00
2022-05-03 07:49:29 -07:00
2022-06-08 08:50:23 -07:00
2021-04-04 21:41:39 -07:00
2022-06-08 10:24:40 -05:00
2021-04-04 21:41:39 -07:00
2021-04-04 21:41:39 -07:00
2021-05-12 15:32:21 -07:00
2021-05-12 15:32:21 -07:00
2022-02-14 11:48:35 -08:00
2021-04-04 21:41:39 -07:00
2021-04-04 21:41:39 -07:00