class MyObject: prop = validated_property('prop', choices=Choices(AUTO, None), initial=OtherProperty('other_prop')) other_prop = validated_property('other_prop', choices=Choices(0, AUTO), initial=AUTO)
class MyObject: prop = validated_property('prop', choices=Choices( 'a', 'b', None, integer=True, length=True, percentage=True, color=True, explicit_defaulting_constants=[ INITIAL, INHERIT, UNSET, REVERT ]), initial=None)
class MyObject: prop = validated_property('prop', choices=Choices( 'a', 'b', None, validators=[ is_integer, is_number, is_length, is_percentage, is_color ], explicit_defaulting_constants=[ INITIAL, INHERIT, UNSET, REVERT ]), initial=None)
class MyObject: prop = validated_property('prop', choices=Choices(AUTO, None), initial=SomeProperty())
class MyObject: prop = validated_property('prop', choices=Choices(AUTO, None), initial=OtherProperty('foobar'))
class MyObject: prop = validated_property('prop', choices=Choices(validators=[is_length]), initial=0)
class MyObject: prop = validated_property('prop', choices=Choices(None), initial=None)
class MyObject: prop = validated_property('prop', choices=Choices('a', 'b', None), initial='a')
class MyObject: prop = validated_property('prop', choices=Choices(validators=[is_uri]), initial='url(google.com)')
class MyObject: prop = validated_property('prop', choices=Choices(validators=[is_color]), initial='goldenrod')
class MyObject: prop = validated_property( 'prop', choices=Choices(validators=[is_percentage]), initial=99 * percent)
class MyObject: prop = validated_property('prop', choices=Choices(percentage=True), initial=99 * percent)
class MyObject: prop = validated_property('prop', choices=Choices(length=True), initial=0)
class MyObject: prop = validated_property('prop', choices=Choices( 'a', 'b', None, integer=True, length=True, percentage=True, color=True ), initial=None)
class MyObject: prop = validated_property('prop', choices=Choices(color=True), initial='goldenrod')
class MyObject: prop = validated_property('prop', choices=Choices(integer=True), initial=0)