Questions tagged as 'descriptors'

1
answer

Overwriting property () in the child class

A few days ago I asked a similar question, but the method used to create property was via decorators ( @property and @name.setter ). Here I am creating property via function property() : from abc import ABCMeta...
asked by 15.12.2018 / 14:41
1
answer

Pass descriptor by parameter to another descriptor

Let's say that in a class I have two descriptor properties. The first one ensures that the property in question is either negative the second must ensure that the property associated with it will not be greater than the previous property. For...
asked by 31.12.2018 / 15:14