msgspec cannot decode the discriminated union Pet: its Struct types Cat, Dog are not all tagged. Pass --use-msgspec-tagged-unions to tag them.
