# {py:mod}`arelle.ModelRelationshipSet` ```{py:module} arelle.ModelRelationshipSet ``` ```{autodoc2-docstring} arelle.ModelRelationshipSet :allowtitles: ``` ## Module Contents ### Classes ````{list-table} :class: autosummary longtable :align: left * - {py:obj}`_LangLabels ` - ```{autodoc2-docstring} arelle.ModelRelationshipSet._LangLabels :summary: ``` * - {py:obj}`ModelRelationshipSet ` - ```{autodoc2-docstring} arelle.ModelRelationshipSet.ModelRelationshipSet :summary: ``` ```` ### Functions ````{list-table} :class: autosummary longtable :align: left * - {py:obj}`create ` - ```{autodoc2-docstring} arelle.ModelRelationshipSet.create :summary: ``` * - {py:obj}`ineffectiveArcs ` - ```{autodoc2-docstring} arelle.ModelRelationshipSet.ineffectiveArcs :summary: ``` * - {py:obj}`baseSetArcroles ` - ```{autodoc2-docstring} arelle.ModelRelationshipSet.baseSetArcroles :summary: ``` * - {py:obj}`labelroles ` - ```{autodoc2-docstring} arelle.ModelRelationshipSet.labelroles :summary: ``` * - {py:obj}`baseSetRelationship ` - ```{autodoc2-docstring} arelle.ModelRelationshipSet.baseSetRelationship :summary: ``` ```` ### Data ````{list-table} :class: autosummary longtable :align: left * - {py:obj}`USING_EQUIVALENCE_KEY ` - ```{autodoc2-docstring} arelle.ModelRelationshipSet.USING_EQUIVALENCE_KEY :summary: ``` * - {py:obj}`NoneType ` - ```{autodoc2-docstring} arelle.ModelRelationshipSet.NoneType :summary: ``` ```` ### API ````{py:data} USING_EQUIVALENCE_KEY :canonical: arelle.ModelRelationshipSet.USING_EQUIVALENCE_KEY :value: > 'intern(...)' ```{autodoc2-docstring} arelle.ModelRelationshipSet.USING_EQUIVALENCE_KEY ``` ```` ````{py:data} NoneType :canonical: arelle.ModelRelationshipSet.NoneType :value: > 'type(...)' ```{autodoc2-docstring} arelle.ModelRelationshipSet.NoneType ``` ```` ````{py:function} create(modelXbrl, arcrole, linkrole=None, linkqname=None, arcqname=None, includeProhibits=False) -> ModelRelationshipSet :canonical: arelle.ModelRelationshipSet.create ```{autodoc2-docstring} arelle.ModelRelationshipSet.create ``` ```` ````{py:function} ineffectiveArcs(baseSetModelLinks, arcrole, arcqname=None) :canonical: arelle.ModelRelationshipSet.ineffectiveArcs ```{autodoc2-docstring} arelle.ModelRelationshipSet.ineffectiveArcs ``` ```` ````{py:function} baseSetArcroles(modelXbrl) :canonical: arelle.ModelRelationshipSet.baseSetArcroles ```{autodoc2-docstring} arelle.ModelRelationshipSet.baseSetArcroles ``` ```` ````{py:function} labelroles(modelXbrl, includeConceptName=False) :canonical: arelle.ModelRelationshipSet.labelroles ```{autodoc2-docstring} arelle.ModelRelationshipSet.labelroles ``` ```` ````{py:function} baseSetRelationship(arcElement) :canonical: arelle.ModelRelationshipSet.baseSetRelationship ```{autodoc2-docstring} arelle.ModelRelationshipSet.baseSetRelationship ``` ```` `````{py:class} _LangLabels :canonical: arelle.ModelRelationshipSet._LangLabels ```{autodoc2-docstring} arelle.ModelRelationshipSet._LangLabels ``` ````{py:attribute} lang :canonical: arelle.ModelRelationshipSet._LangLabels.lang :type: str :value: > None ```{autodoc2-docstring} arelle.ModelRelationshipSet._LangLabels.lang ``` ```` ````{py:attribute} labels :canonical: arelle.ModelRelationshipSet._LangLabels.labels :type: list[arelle.ModelObject.ModelObject] | list[str] :value: > None ```{autodoc2-docstring} arelle.ModelRelationshipSet._LangLabels.labels ``` ```` ````` `````{py:class} ModelRelationshipSet(modelXbrl, arcrole, linkrole=None, linkqname=None, arcqname=None, includeProhibits=False) :canonical: arelle.ModelRelationshipSet.ModelRelationshipSet ```{autodoc2-docstring} arelle.ModelRelationshipSet.ModelRelationshipSet ``` ```{rubric} Initialization ``` ```{autodoc2-docstring} arelle.ModelRelationshipSet.ModelRelationshipSet.__init__ ``` ````{py:attribute} __slots__ :canonical: arelle.ModelRelationshipSet.ModelRelationshipSet.__slots__ :value: > ('isChanged', 'modelXbrl', 'arcrole', 'linkrole', 'linkqname', 'arcqname', 'modelRelationshipsFrom',... ```{autodoc2-docstring} arelle.ModelRelationshipSet.ModelRelationshipSet.__slots__ ``` ```` ````{py:attribute} modelRelationshipsFrom :canonical: arelle.ModelRelationshipSet.ModelRelationshipSet.modelRelationshipsFrom :type: dict[typing.Any, list[arelle.ModelDtsObject.ModelRelationship]] | None :value: > None ```{autodoc2-docstring} arelle.ModelRelationshipSet.ModelRelationshipSet.modelRelationshipsFrom ``` ```` ````{py:attribute} modelRelationshipsTo :canonical: arelle.ModelRelationshipSet.ModelRelationshipSet.modelRelationshipsTo :type: dict[typing.Any, list[arelle.ModelDtsObject.ModelRelationship]] | None :value: > None ```{autodoc2-docstring} arelle.ModelRelationshipSet.ModelRelationshipSet.modelRelationshipsTo ``` ```` ````{py:method} clear() -> None :canonical: arelle.ModelRelationshipSet.ModelRelationshipSet.clear ```{autodoc2-docstring} arelle.ModelRelationshipSet.ModelRelationshipSet.clear ``` ```` ````{py:method} __bool__() :canonical: arelle.ModelRelationshipSet.ModelRelationshipSet.__bool__ ```{autodoc2-docstring} arelle.ModelRelationshipSet.ModelRelationshipSet.__bool__ ``` ```` ````{py:property} linkRoleUris :canonical: arelle.ModelRelationshipSet.ModelRelationshipSet.linkRoleUris ```{autodoc2-docstring} arelle.ModelRelationshipSet.ModelRelationshipSet.linkRoleUris ``` ```` ````{py:method} loadModelRelationshipsFrom() -> dict[typing.Any, list[arelle.ModelDtsObject.ModelRelationship]] :canonical: arelle.ModelRelationshipSet.ModelRelationshipSet.loadModelRelationshipsFrom ```{autodoc2-docstring} arelle.ModelRelationshipSet.ModelRelationshipSet.loadModelRelationshipsFrom ``` ```` ````{py:method} loadModelRelationshipsTo() -> dict[typing.Any, list[arelle.ModelDtsObject.ModelRelationship]] :canonical: arelle.ModelRelationshipSet.ModelRelationshipSet.loadModelRelationshipsTo ```{autodoc2-docstring} arelle.ModelRelationshipSet.ModelRelationshipSet.loadModelRelationshipsTo ``` ```` ````{py:method} fromModelObjects() -> dict[typing.Any, list[arelle.ModelDtsObject.ModelRelationship]] :canonical: arelle.ModelRelationshipSet.ModelRelationshipSet.fromModelObjects ```{autodoc2-docstring} arelle.ModelRelationshipSet.ModelRelationshipSet.fromModelObjects ``` ```` ````{py:method} fromModelObject(modelFrom) -> list[arelle.ModelDtsObject.ModelRelationship] :canonical: arelle.ModelRelationshipSet.ModelRelationshipSet.fromModelObject ```{autodoc2-docstring} arelle.ModelRelationshipSet.ModelRelationshipSet.fromModelObject ``` ```` ````{py:method} toModelObjects() -> dict[typing.Any, list[arelle.ModelDtsObject.ModelRelationship]] :canonical: arelle.ModelRelationshipSet.ModelRelationshipSet.toModelObjects ```{autodoc2-docstring} arelle.ModelRelationshipSet.ModelRelationshipSet.toModelObjects ``` ```` ````{py:method} toModelObject(modelTo) -> list[arelle.ModelDtsObject.ModelRelationship] :canonical: arelle.ModelRelationshipSet.ModelRelationshipSet.toModelObject ```{autodoc2-docstring} arelle.ModelRelationshipSet.ModelRelationshipSet.toModelObject ``` ```` ````{py:method} fromToModelObjects(modelFrom, modelTo, checkBothDirections=False) -> list[arelle.ModelDtsObject.ModelRelationship] :canonical: arelle.ModelRelationshipSet.ModelRelationshipSet.fromToModelObjects ```{autodoc2-docstring} arelle.ModelRelationshipSet.ModelRelationshipSet.fromToModelObjects ``` ```` ````{py:property} rootConcepts :canonical: arelle.ModelRelationshipSet.ModelRelationshipSet.rootConcepts ```{autodoc2-docstring} arelle.ModelRelationshipSet.ModelRelationshipSet.rootConcepts ``` ```` ````{py:method} isRelated(modelFrom, axis, modelTo=None, visited=None, isDRS=False, consecutiveLinkrole=False) :canonical: arelle.ModelRelationshipSet.ModelRelationshipSet.isRelated ```{autodoc2-docstring} arelle.ModelRelationshipSet.ModelRelationshipSet.isRelated ``` ```` ````{py:method} label(modelFrom, role, lang, returnMultiple=False, returnText=True, linkroleHint=None) -> str | arelle.ModelObject.ModelObject | list[str] | list[arelle.ModelObject.ModelObject] | None :canonical: arelle.ModelRelationshipSet.ModelRelationshipSet.label ```{autodoc2-docstring} arelle.ModelRelationshipSet.ModelRelationshipSet.label ``` ```` `````