Skip to content
0/9

Python Advanced: Decorators, Generators and Typing

Type Hints and Dataclasses

In this lesson you will

  • Add type hints to variables, functions and collections
  • Use @dataclass for simple data-holding classes
  • Use Enum and Optional for clear, safe code