Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ListAttribute: fix methods not considering connected attribute's value #2660

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

yann-lty
Copy link
Member

Description

Fix ListAttribute methods not considering linked ListAttribute value when connected.

Features list

  • Fix __len__, __iter__, at and index methods to consider linked value.

Implementation remarks

Use value property in those methods, that will consider the linked ListAttribute value if the attribute is connected.

Fix `__len__`, `__iter__`, `at` and `index` to consider linked ListAttribute
value when it is connected.
@yann-lty yann-lty changed the title [core] ListAttribute: fix methods not considering connected value ListAttribute: fix methods not considering connected value Jan 29, 2025
Copy link

codecov bot commented Jan 29, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 70.12%. Comparing base (e51bb93) to head (072c0aa).

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #2660      +/-   ##
===========================================
+ Coverage    69.96%   70.12%   +0.16%     
===========================================
  Files          121      122       +1     
  Lines         7084     7119      +35     
===========================================
+ Hits          4956     4992      +36     
+ Misses        2128     2127       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@yann-lty yann-lty changed the title ListAttribute: fix methods not considering connected value ListAttribute: fix methods not considering connected attribute's value Jan 29, 2025
@yann-lty yann-lty marked this pull request as ready for review January 30, 2025 15:48
@fabiencastan fabiencastan added this to the Meshroom 2025.1.0 milestone Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants