Beispiel #1
0
 class Test:
     test_attr = UIDecimalDescriptor("test_attr")
Beispiel #2
0
 def contribute_to_class(self, cls, name):
     super().contribute_to_class(cls, name)
     setattr(cls, f"ui_{self.name}", UIDecimalDescriptor(self.name))