Python DataClasses

Published: 22 July 2020
on channel: Asha Tutorials
393
7

Webiste : https://www.ashatutorials.com/python_...

Contents:
00:00 DataClasses
00:13 @dataclass decorator
04:43 Defining class with @dataclass decorator
08:10 typing
08:30 Generating oder with @dataclass(order=True)
09:37 Creating immutable object with @dataclass(frozen=True)
10:44 field()
14:27 default_factory example
16:33 Excluding fields from __eq__()
18:01 default_factory with init=False
19:28 fields()
20:22 asdict()
20:58 astuple()
22:03 make_dataclass()
25:31 __post_init__()
27:16 Init-only Variables


On this page of the site you can watch the video online Python DataClasses with a duration of hours minute second in good quality, which was uploaded by the user Asha Tutorials 22 July 2020, share the link with friends and acquaintances, this video has already been watched 393 times on youtube and it was liked by 7 viewers. Enjoy your viewing!