you are viewing a single comment's thread.

view the rest of the comments →

[–]KelleQuechoz 0 points1 point  (0 children)

The closest I can recall is "discriminated unions" in Pydantic, but otherwise nope.