@property
    def constraintSets(self):
        try:
            return self._constraintSets
        except __HOLE__:
            self._constraintSets = dict((ruleSet.tagName, ruleSet)
                                        for ruleSet in XmlUtil.children(self, self.namespaceURI, "ruleSet"))
            if self.aspectsCovered(): # any local rule?
                self._constraintSets[None] = self                
            return self._constraintSets
dataset/ETHPy150Open Arelle/Arelle/arelle/ModelRenderingObject.py/ModelRuleDefinitionNode.constraintSets