

@value.setter
def value(self, value):
    py_type = type(value)
    (fieldname, discriminator) = self.type_map[discriminator]
    self.type = discriminator
    if (fieldname is not None):
        setattr(self, fieldname, value)

dataset/ETHPy150Open zzzeek/sqlalchemy/examples/vertical/dictlike-polymorphic.py PolymorphicVerticalProperty.value/VarMisuse@34/39 `py_type`->`discriminator`