code: def __post_init__(self):
      assert not any(
          f.name in ("type", "_type", "create", "value")
          for f in fields(self)
      )
  
file_path: pytorch/torch/_export/serde/union.py
imports: import functools
  from dataclasses import fields
  from typing import Hashable, Set
label_desc: Use image node_id 2 for calling the _Union obj's underlying member method code with example usage: obj.__post_init__() without return types