def TypeProperty(value):
    return StringProperty(required=True, choices=[value])
Computes the assortativity of the nominal attributes.
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/userreports/specs.py/TypeProperty--crossover with--dataset/ETHPy150Open yvesalexandre/bandicoot/bandicoot/network.py/assortativity_attributes