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

Add support for connecting GroupAttributes #2684

Draft
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

yann-lty
Copy link
Member

Description

This PR adds support for connecting GroupAttributes.

Features list

  • Support connection between GroupAttributes (API, serialization, UI).
  • [ui] Make connected GroupAttribute readonly.

Implementation remarks

Centralize the handling of link assigment by value in a dedicated
private method.
Store link assignment by value in a separate member variable
`_linkExpression`, to avoid manipulating a internal `_value` that
can represent different concepts (value VS serialized edge expression).
Make GroupAttributes connectable by supporting:
- link assignment
- applying link expression
- considering linkParam within appropriate methods
Copy link

codecov bot commented Feb 21, 2025

Codecov Report

Attention: Patch coverage is 80.76923% with 15 lines in your changes missing coverage. Please review.

Project coverage is 72.82%. Comparing base (8ee7b50) to head (c4b85fd).

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
meshroom/core/attribute.py 80.70% 11 Missing ⚠️
meshroom/core/graph.py 77.77% 4 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #2684      +/-   ##
===========================================
+ Coverage    72.79%   72.82%   +0.02%     
===========================================
  Files          129      129              
  Lines         7753     7779      +26     
===========================================
+ Hits          5644     5665      +21     
- Misses        2109     2114       +5     

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

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.

1 participant