Pattern matching has been with us since Python3.10. Since the introduction of the match-case statement, we've got a powerful and elegant tool to control the flow of the program. This talk is to showcase a real-world scenario of handling different messages coming from a broker, using match-case and Pydantic. Slides: https://pycon-assets.s3.amazonaws.com/2024/media/presentation_slides/66/2024-05-17T11%3A17%3A21.890073/pattern_matching_pyconus2024.pptx
Get notified about new features and conference additions.