

def elementDeclaration(self, validationModelXbrl=None):
    elementModelXbrl = self.modelXbrl
    if ((validationModelXbrl is not None) and (validationModelXbrl != elementModelXbrl)):
        return validationModelXbrl.qnameConcepts.get(self.elementQname)
    return elementModelXbrl.qnameConcepts.get(self.qname)

dataset/ETHPy150Open Arelle/Arelle/arelle/ModelObject.py ModelObject.elementDeclaration/original