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):
|
def typePredicate(self):
|
||||||
return self.loopsRoot.getConceptManager().getTypePredicate()
|
return self.loopsRoot.getConceptManager().getTypePredicate()
|
||||||
|
|
||||||
|
@Lazy
|
||||||
|
def adapted(self):
|
||||||
|
return adapted(self.context)
|
||||||
|
|
||||||
|
|
||||||
class SimplePublishable(StatefulLoopsObject):
|
class SimplePublishable(StatefulLoopsObject):
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue