Showing posts with the label
python-dataclasses
Issue I'm having trouble getting MyPy to pass my script which contains a dataclass Bar with a…
Issue Let us say I have a custom use case, and I need to dynamically create or define the __init__ …
Issue How do you build custom data types in Python (similar to how you define interface in TypeScr…
Issue If I define a type like the following: StringType = TypeVar('StringType', str, None)…
Issue I have a class that accepts a lot of params, and in init method I'm loading them in diffe…
Issue Python 3.7 was released a while ago, and I wanted to test some of the fancy new dataclass +ty…
Issue When using dataclasses.dataclass the type information informs how parameters are parsed. I w…
Issue I have the following simple code. @dataclass(frozen=True) class Test: a: bool = True …