Is it ok to have a property decorated method to return a class in Python?
<p>Let's say I have the following code:</p>

<pre><code>class MyClass(object):
    def __init__(self, param):
        self.param = param

    @property
    def super_param(self):
        return Param(self, self.param)


class Param(object):
    def __init__(self, parent, param):
        self.param = param
        self.parent = parent

    @property
    def get_parent(self):
        return self.parent
</code></pre>

<p>My question is, is it considered bad practice to use the @property decorator in this way? Are there any pros or cons?</p>
