(value)
return StringProperty(required=True, choices=[value])
Shortcut for making a required property and restricting it to a single specified
    value. This adds additional validation that the objects are being wrapped as expected
    according to the type.
Shortcut for making a required property and restricting it to a single specified
    value. This adds additional validation that the objects are being wrapped as expected
    according to the type.
Shortcut for making a required property and restricting it to a single specified value . This adds additional validation that the objects are being wrapped as expected according to the type .
def TypeProperty(value):
    """
    Shortcut for making a required property and restricting it to a single specified
    value. This adds additional validation that the objects are being wrapped as expected
    according to the type.
    """
    return StringProperty(required=True, choices=[value])
def TypeProperty ( value ) : return StringProperty ( required = True , choices = [ value ] )