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 ...
Results that may be inaccessible to you are currently showing.
Hide inaccessible results