add convenience property to stateful adapter
This commit is contained in:
parent
7e70140f52
commit
f48bfc692e
1 changed files with 4 additions and 0 deletions
|
@ -54,6 +54,10 @@ class StatefulLoopsObject(Stateful, StatefulAdapter):
|
|||
def typePredicate(self):
|
||||
return self.loopsRoot.getConceptManager().getTypePredicate()
|
||||
|
||||
@Lazy
|
||||
def adapted(self):
|
||||
return adapted(self.context)
|
||||
|
||||
|
||||
class SimplePublishable(StatefulLoopsObject):
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue