-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
⚠️ InterfaceBreaking changes to the APIBreaking changes to the API❔ QuestionDiscuss this matter in the teamDiscuss this matter in the team
Milestone
Description
While investigating #272, I started to wonder why EdgeSettings and NodeSettings require conservation_rules as well as rule_priorities. Can't these two just be combined into one attribute of type dict[Rule, int]?
Lines 44 to 50 in e60ff89
| @define | |
| class EdgeSettings: | |
| """Solver settings for a specific edge of a graph.""" | |
| conservation_rules: set[GraphElementRule] = field(factory=set) | |
| rule_priorities: dict[GraphElementRule, int] = field(factory=dict) | |
| qn_domains: dict[Any, list] = field(factory=dict) |
Metadata
Metadata
Assignees
Labels
⚠️ InterfaceBreaking changes to the APIBreaking changes to the API❔ QuestionDiscuss this matter in the teamDiscuss this matter in the team