code: def __post_init__(self):
      if self.values and (
          self.dataType is not DataType.string
          or self.optype not in (OpType.ordinal, OpType.categorical)
      ):
          raise ValueError
  
file_path: AIX360/aix360/algorithms/rule_induction/trxf/pmml_export/models/data_dictionary.py
imports: import enum
  import typing
label_desc: Use image node_id 1 for calling the DataField obj's underlying member method code with example usage: obj.__post_init__() without return types