News

Doing so makes them optional when you create a new instance. For example, say you want the default book price to be $20. You can say: @dataclass class Book(object): title : str author : str price : ...