This lesson is part of a Real Python video course by Darren Jones.
Using Data Classes in Python (Summary)
00:00 Summary, well done. You’ve made it to the end of this course. In it, you’ve seen that data classes are a useful feature that were first introduced with Python 3.7, and that with them, you don’t have to write boilerplate code to get proper initialization, representation, and comparisons for your objects.
00:21 In this course, you’ve seen how to define your own data classes, how to add default values for fields in your data class, how to customize the ordering of data class objects, how to work with immutable data classes,
00:35 and how inheritance works for data classes.
00:40 As ever, we hope you found this course useful and we’ll see you again soon at realpython.com.
You must own this product to join the conversation.