Exemple #1
0
 class Cls(properties.Owner):
     value = properties.Float(maxval=1.0)
Exemple #2
0
    class Cls(properties.Owner):
        value = properties.Float(required=True)

        def __init__(self, value=None):
            self.value = value
Exemple #3
0
 class Cls(properties.Owner):
     value = properties.Float()