|
This post was updated on .
Hi~
It is not convenient to define/use inverse property with Inverse constructor or inverse_property in dynamic case. Could we define a property such as 'INVERSE_property' or 'property_INV' just like 'INDERCT_property'? Then It is possible to use getattr(i, 'INVERSE_'+r).
|