News

That said, enums tend to be the most familiar and idiomatic way to do this in Python. You cannot match against variable contents ... match media_object: case Image(codec="jpg"): # Return as ...