class Cls(properties.Owner): value = properties.Float(maxval=1.0)
class Cls(properties.Owner): value = properties.Float(required=True) def __init__(self, value=None): self.value = value
class Cls(properties.Owner): value = properties.Float()