Skip to content Skip to sidebar Skip to footer
Showing posts with the label Python Dataclasses

How To Define Circularly Dependent Data Classes In Python 3.7+?

Suppose that class A has a member whose type is class B, and class B has a member whose type is cla… Read more How To Define Circularly Dependent Data Classes In Python 3.7+?

Type Hint For An Instance Of A Non Specific Dataclass

I have a function that accepts an instance of any dataclass. what would be an appropriate type hint… Read more Type Hint For An Instance Of A Non Specific Dataclass