Skip to content

Commit c460c29

Browse files
committed
[core] attribute: Refactoring: Rename method _getOutputLinks
1 parent aa88841 commit c460c29

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

meshroom/core/attribute.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ def _getInputLink(self, recursive=False) -> "Attribute":
376376
return linkAttribute._getInputLink(recursive)
377377
return linkAttribute
378378

379-
def _getDirectOutputLinks(self) -> list["Attribute"]:
379+
def _getOutputLinks(self) -> list["Attribute"]:
380380
"""
381381
Return the list of direct downstream connected attributes.
382382
"""
@@ -398,7 +398,7 @@ def _getAllOutputLinks(self) -> list["Attribute"]:
398398
"""
399399
Return the list of downstream connected attributes for the attribute or any of its elements.
400400
"""
401-
return self._getDirectOutputLinks()
401+
return self._getOutputLinks()
402402

403403
def _hasAnyInputLinks(self) -> bool:
404404
"""
@@ -485,7 +485,7 @@ def matchText(self, text: str) -> bool:
485485
# The direct upstream connected attribute.
486486
inputLink = Property(BaseObject, _getInputLink, notify=inputLinksChanged)
487487
# The list of direct downstream connected attributes.
488-
outputLinks = Property(Variant, _getDirectOutputLinks, notify=outputLinksChanged)
488+
outputLinks = Property(Variant, _getOutputLinks, notify=outputLinksChanged)
489489
# The list of upstream connected attributes for the attribute or any of its elements.
490490
allInputLinks = Property(Variant, _getAllInputLinks, notify=inputLinksChanged)
491491
# The list of downstream connected attributes for the attribute or any of its elements.

0 commit comments

Comments
 (0)