10 Aug 2022 — 5tefan commented on Sep 9, 2022. As a workaround, I have noticed that annotating the return value will succeed with mypy. ... Successfully merging ...
Hello, as I was trying to not use some attributes from a dataclass when creating a pandas.DataFrame, I noticed that even though the specific attribute wa…
I think the best thing to do is write another decorator that adds this method. I've often thought that having a dataclasses_tools third-party module would…
24 Mar 2023 — Currently when constructing the dict for a dataclass, a list of tuples is created and passed to the dict_factory constructor. In the case where ...
I am creating a Python Tkinter MVC project using dataclasses and I would like to create widgets by iterating through the dictionary generated by the asdi…
The asdict API was a mistake, because it's not possible for it to know how to create all possible sub-objects. I can't decide what to do about it. I migh…