def TypeProperty(value):
    return StringProperty(required=True, choices=[value])
Shortcut for making a required property and restricting it to a single specified
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/userreports/specs.py/TypeProperty