Changeset 12974 for main/waeup.kofa/trunk/src/waeup/kofa
- Timestamp:
- 21 May 2015, 12:31:01 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/utils/helpers.py
r12433 r12974 391 391 392 392 def attrs_to_fields(cls, omit=[]): 393 """Turn the attributes of a class into FieldProperty instances. 393 """Set class attributes and bind them to the data definitions 394 specified in the interface by turning the attributes into FieldProperty 395 instances. 394 396 395 397 With Python >= 2.6 we can even use this function as a class decorator.
Note: See TracChangeset for help on using the changeset viewer.