Exemplo n.º 1
0
 class Cls(properties.Owner):
     value = properties.Property(required=True, default="default")
Exemplo n.º 2
0
 class Cls(properties.Owner):
     value = properties.Property(default="default")
Exemplo n.º 3
0
    class Cls(properties.Owner):
        value = properties.Property(required=True)

        def __init__(self, value=None):
            self.value = value
Exemplo n.º 4
0
 class Cls(properties.Owner):
     value = properties.Property(required=True)
Exemplo n.º 5
0
 class Cls(properties.Owner):
     value = properties.Property(doc="description")
Exemplo n.º 6
0
 class Cls(properties.Owner):
     value = properties.Property()