Exemple #1
0
 class Foo(HasProps):
     x = NumberSpec("xfield")
Exemple #2
0
 class Foo(HasProps):
     y = NumberSpec(default=12)
Exemple #3
0
 class Mixin(HasProps):
     mixin_num = NumberSpec(14)
Exemple #4
0
 class Sub(Base, Mixin):
     sub_num = NumberSpec(16)
Exemple #5
0
 class Base(HasProps):
     num = NumberSpec(12)
     not_a_dataspec = Float(10)